[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4] drivers/char: rename arm-uart.c to uart-init.c
- To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Michal Orzel <michal.orzel@xxxxxxx>
- Date: Thu, 21 Nov 2024 11:15:29 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=temperror (sender ip is 165.204.84.12) smtp.rcpttodomain=gmail.com smtp.mailfrom=amd.com; dmarc=temperror action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=wVKJdkh0tJBUz2++OsFRnh1jMvQosXEbRL98KFukEo8=; b=T5oxtOito5z6pudK7IpoeTBMTsdcUXKk+wcR02WgRo8cs1QUCHuoTNDJ7OApyI1TGn3Fo/c4AnO09l6fxrzMUeG5Vb3fUdHHjBtqYlum3FMbjNdaf49VnZdggTBzXgALtZ3VpZKuf2vbTPd996uS+RHXGlayQx25J7aYVyRNnCxtZBHkPBz4wIyBwup6PDnTxgO4DnguSQTGWZFia+1z05nHI7b/FPkJaK7NnlDmZdq2LSc+dT00951H+gBHim+I2qN5jkX9NH3N9GsMoz2y7tXRzai/VYwyvmQyc0Rk8v+xZUv7Lfw7R39mrvUnMfQwUbrcg1Ld6+RD17wYKyfKFA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oRLfN8ljKm1lKNErHdK5wMcfh3wL+evS/oIs4eouQmwMjHHkvak0qTa7Yza99qpTvTyIOhKc0ROoHov82XEEScv5hxAD5k2Bw/kbyQs7+D5YZHVLAHmRYNFs0/VGOc4kSLVG9AL0UTkeVF7GjhGFPxgyQPtorKs2FUA8ETlXCuda4+DBVgd4CZ010eMSYvEOAD+wolGJdpGFYDyGBKdNvNfQpdRLdbBqVl6ievCb/QDBKUQ72Lg7eQ0d42aIBJbsDIX8b3pjaDNye3dwFCxb6D1qNRnOdlRLmQB35U3sjTy3J8nDBN9LrigM5ZasAAcbDHxyWXwF9F2HaNXOGmsk8A==
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Thu, 21 Nov 2024 10:15:57 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 19/11/2024 15:55, Oleksii Kurochko wrote:
>
>
> Rename the file containing uart_init() to enable reuse across other
> architectures that utilize device trees or SPCR tables to locate UART
> information.
> After locating UART data, {acpi}_device_init() is called to initialize
> the UART.
>
> arm_uart_init() is renamed to uart_init() to be reused by other
> architectures.
>
> A new configuration option, CONFIG_GENERIC_UART_INIT, is introduced,
> currently available only for Arm. Enabling CONFIG_UART_INIT on additional
> architectures will require additional functionality, such as device tree
> mapping and unflattening, etc.
>
> arm-uart.c is removed from "ARM (W/ VIRTUALIZATION EXTENSIONS) ARCHITECTURE"
> section in the MAINTAINERS file, as it is no longer Arm-specific and can
> now be maintained by maintainers of other architectures.
>
> Use GENERIC_UART_INIT for CONFIG_ARM by adding `select GENERIC_UART_INIT`
> to CONFIG_ARM.
>
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|