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 EEC1D7803D0 for ; Thu, 21 Dec 2023 13:59:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Z9HzCazVE6ng8dzN60CB7ZyBHSYVukss7oMNz+DogrI=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1703167174; v=1; b=SuIpsYA9KAitzNaGYlfWmZJRy8WV5MRsjxXPwt0lrbDjC4hrAiaEvm/kJv0NSuPsqs+usFT/ 1CGdQ8BD3hWe5UDcS/ZlIfMdW8blzYsJJy6Qy4e/YnykxTHsuJv7UU/nCnGO4Qz8GUxpl3JiX77 Hnhbdxx2Irqxl3fNciYFCD1M= X-Received: by 127.0.0.2 with SMTP id bgGFYY7687511x456dSz47uO; Thu, 21 Dec 2023 05:59:34 -0800 X-Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web11.51218.1703167173691811938 for ; Thu, 21 Dec 2023 05:59:34 -0800 X-Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 5CE2AB82024 for ; Thu, 21 Dec 2023 13:59:31 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B63B5C433CB for ; Thu, 21 Dec 2023 13:59:30 +0000 (UTC) X-Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-50e270639d9so1046038e87.3 for ; Thu, 21 Dec 2023 05:59:30 -0800 (PST) X-Gm-Message-State: h0T0CxOOS4YAEtxqINoFXKmrx7686176AA= X-Google-Smtp-Source: AGHT+IGJyyVXMFfhsdh43GtRJcvpVADloeOKHNo+7X5uMuYtDY3mn6dXeXuc7FF0rs0Q2MdtZuWks6xIGl7WjbsRWoI= X-Received: by 2002:a05:6512:360e:b0:50e:410c:6a49 with SMTP id f14-20020a056512360e00b0050e410c6a49mr2192664lfs.130.1703167168952; Thu, 21 Dec 2023 05:59:28 -0800 (PST) MIME-Version: 1.0 References: <20231212130932.2467028-1-lichao@loongson.cn> <17A017C201FEB90D.32321@groups.io> <9014a7b3-095c-42b1-a9ef-5a388818385d@loongson.cn> <0a00f876-0bc5-4cf7-9252-b21520463034@loongson.cn> In-Reply-To: <0a00f876-0bc5-4cf7-9252-b21520463034@loongson.cn> From: "Ard Biesheuvel" Date: Thu, 21 Dec 2023 14:59:17 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH v4 19/37] UefiCpuPkg: Add MMIO method in CpuIo2Dxe To: Chao Li Cc: devel@edk2.groups.io, ray.ni@intel.com, "Kumar, Rahul R" , Gerd Hoffmann , Leif Lindholm , Ard Biesheuvel , Sami Mujawar 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,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=SuIpsYA9; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, 21 Dec 2023 at 13:41, Chao Li wrote: > ... > A given platform will either be able to use port IO, or it will need > to use MMIO translation. So a driver that can do both based on a PCD > is not very useful, it makes more sense to have two different drivers, > and the platform incorporates the one it can use. > > Ok, I get it, I think you are more inclined to move the ArmCpuIo2Dxe to a new place and rename it, maybe: CpuMmio2Dxe, while some platforms choose the different CpuIo2 drvier by themselves when building FW, right? > Yes. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112819): https://edk2.groups.io/g/devel/message/112819 Mute This Topic: https://groups.io/mt/103261693/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-