From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 2DE0AD808CC for ; Fri, 1 Mar 2024 11:27:59 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=VkNxdDYVz8Lnt6FCwmj4ROoWXXzrsXAIp8fksM3GAvs=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1709292477; v=1; b=n233MyKEYD9DIo8QXZwwc0sbuLY7Ds6S08patqBkg0VVYcDoQhDPllESwxYbJFLqa1niaPPM IwjzKrkna0bKPtAl3ftiMuoPyPokoVqPtTTOtZiBuvVy0/DKqiFnLzZgB0eA3eIdZGxZ/80V1b2 xXB3zagnaO4x+aVf8bYGgOmE= X-Received: by 127.0.0.2 with SMTP id yIEKYY7687511xTQthCiEUvK; Fri, 01 Mar 2024 03:27:57 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.20501.1709292477132173296 for ; Fri, 01 Mar 2024 03:27:57 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-127-2kv32Dq8NxWAO6pnKLLuNQ-1; Fri, 01 Mar 2024 06:27:52 -0500 X-MC-Unique: 2kv32Dq8NxWAO6pnKLLuNQ-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3AACC85A58A; Fri, 1 Mar 2024 11:27:52 +0000 (UTC) X-Received: from [10.39.194.215] (unknown [10.39.194.215]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8CD7FC185C0; Fri, 1 Mar 2024 11:27:50 +0000 (UTC) Message-ID: <8e97514d-cd2f-881a-f1e4-ed1bdbd03320@redhat.com> Date: Fri, 1 Mar 2024 12:27:49 +0100 MIME-Version: 1.0 Subject: Re: [edk2-devel] [PATCH v8 14/37] UefiCpuPkg: Add CpuMmuLib to UefiCpuPkg To: devel@edk2.groups.io, lichao@loongson.cn, "Ni, Ray" Cc: "Dong, Eric" , "Kumar, Rahul R" , Gerd Hoffmann , Baoqi Zhang , Dongyan Qian , Xianglai Li , Bibo Mao References: <20240126062715.3099433-1-lichao@loongson.cn> <20240126062919.3101691-1-lichao@loongson.cn> <856ebd67-d345-6e41-2e34-74b9bdd7ed7e@redhat.com> <2187d8cd-3578-4f3f-a158-2961571f851b@loongson.cn> From: "Laszlo Ersek" In-Reply-To: <2187d8cd-3578-4f3f-a158-2961571f851b@loongson.cn> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,lersek@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: eARhOGWlvay7YJvIBBVVcMkLx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=n233MyKE; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none) On 3/1/24 02:26, Chao Li wrote: > Hi Ray, Lazslo, >=20 > This library is almost complete to refactored, it refer to ARM and > RISC-V version, the API include set/get memory region attribute. >=20 > I have one last question, in ARM and RISC-V version, even LoongArch old > and current version, they all request a configure interface, which may > be called in PEI or DXE stage, so should we open configure API? If so, > it is possible for ARM RISC-V and LongArch's MMU libraries to be meged > into the same instance if they wished. Sorry, I've lost all context by now. I don't understand what you mean by "they all request a configure interface". Please provide pathnames and function names for the existent code that you are referring to as examples (and then please restate / rephrase your question as well). Laszlo -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116233): https://edk2.groups.io/g/devel/message/116233 Mute This Topic: https://groups.io/mt/103971653/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-