[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH 1/4] xen/arm: debug-pl011: Use correct accessors
- To: Michal Orzel <michal.orzel@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Henry Wang <Henry.Wang@xxxxxxx>
- Date: Tue, 13 Jun 2023 02:59:18 +0000
- Accept-language: zh-CN, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=l2CnNMhr8lQ2oX0Xq5VD+L9NO9J+jxzzrtdxVYQyL9s=; b=TE/gJxAnnvMYZlGHD7G9dRG3WOzNdabkk/fNExskrHR6LZc/M9sfW7o66jVOyPFMpbejKqu6+vaQOlxoXjtZC+9U4FOgWWYs2SvxCrFFA6OIqlrezJYoQPd58mcUMpGyrU5kQ0kRGCNttaU3Xddq1PJCelaWby4L5o4XCDqKsE80qPW2jhk5ZufVqU37jwAWrAA40Jx87QVz1skCB5LQPfQrEk6lzKPzYnmjFl7mtn7O4Rosa1QgLzx6fEJky6UiZxvKJQy2QPlWR2yNOnnvYS4a159alChOISFLL8Cm+hxwabOR5/zV7959AKaXdLPPtccqQtrElNsxIzU8T3PccA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KkWmThw3t81/LC1sqCXSSTcxYIB+CY3n1C0mH+0Pc3D+kfYDLFVRgFsTE+EUn80RVRgtXrR0lXlnbJbU6ih2ZeGakXrArLWb46hR4hIv62bs0Zfr/ri9Ukntd9JPorCxu7qIiRe2VecneVER9so1AlYoiHckZ+9v8dh4Oxo5cbg1NAsnKOALByS3et2h+GWbWIKpRMixHmBr9flN8i3gRETW9YxvNNJvOb4Ewua7qAR+s62VZDRX/aZyQZ8eC1WGZtj9znRhaZmu6bGW1K9dWji6uIqvdUc2pz4L6HknRaznusNuFoMuy9gr/o8Tw2E5fwnO6s2+8uFMrWSwX99V6Q==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Tue, 13 Jun 2023 02:59:44 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHZmSJjbSuJb96sHUqL7cP2ByEXha+IAkwQ
- Thread-topic: [PATCH 1/4] xen/arm: debug-pl011: Use correct accessors
Hi Michal,
> -----Original Message-----
> Subject: [PATCH 1/4] xen/arm: debug-pl011: Use correct accessors
>
> Although most PL011 UARTs can cope with 32-bit accesses, some of the old
> legacy ones might not. PL011 registers are 8/16-bit wide and this shall
> be perceived as the normal behavior.
>
> Modify early printk pl011 code for arm32/arm64 to use the correct
> accessors depending on the register size (refer ARM DDI 0183G, Table 3.1).
>
> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
I've tested this patch on top of today's staging on FVP arm32 and arm64 and
confirm this patch will not break existing functionality. So:
Tested-by: Henry Wang <Henry.Wang@xxxxxxx>
Kind regards,
Henry
|