From: Anatolij Gustschin <agust@denx.de>
To: Bin Meng <bmeng@tinylab.org>
Cc: Simon Glass <sjg@chromium.org>, u-boot@lists.denx.de
Subject: Re: [PATCH 04/18] video: bochs: Avoid using IO instructions to access VGA IO port
Date: Tue, 1 Aug 2023 14:59:35 +0200 [thread overview]
Message-ID: <20230801145935.207e70b9@crub> (raw)
In-Reply-To: <20230723044041.1089804-5-bmeng@tinylab.org>
On Sun, 23 Jul 2023 12:40:27 +0800
Bin Meng bmeng@tinylab.org wrote:
> At present the driver uses IO instructions to access the legacy
> VGA IO ports, which unfortunately limits the driver to work only
> on x86. It turns out the IO instruction is not necessary as Bochs
> VGA card remaps the legacy VGA IO ports (0x3c0 -> 0x3df) to its
> memory mapped register space from offset 0x400.
>
> Update the driver to use MMIO access for VGA IO port.
>
> Signed-off-by: Bin Meng <bmeng@tinylab.org>
> ---
>
> drivers/video/bochs.c | 6 +++---
> drivers/video/bochs.h | 4 +---
> 2 files changed, 4 insertions(+), 6 deletions(-)
applied to u-boot-video/master, thanks!
--
Anatolij
next prev parent reply other threads:[~2023-08-01 12:59 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-23 4:40 [PATCH 00/18] video: bochs: Remove the x86 limitation Bin Meng
2023-07-23 4:40 ` [PATCH 01/18] dm: video: Cosmetic style fix Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 12:57 ` Anatolij Gustschin
2023-07-23 4:40 ` [PATCH 02/18] video: bochs: Drop inclusion of <asm/mtrr.h> Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 12:58 ` Anatolij Gustschin
2023-07-23 4:40 ` [PATCH 03/18] video: bochs: Drop the useless argument of bochs_vga_write() Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 12:59 ` Anatolij Gustschin
2023-07-23 4:40 ` [PATCH 04/18] video: bochs: Avoid using IO instructions to access VGA IO port Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 12:59 ` Anatolij Gustschin [this message]
2023-07-23 4:40 ` [PATCH 05/18] video: bochs: Remove the x86 dependency Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 13:00 ` Anatolij Gustschin
2023-07-23 4:40 ` [PATCH 06/18] video: kconfig: Fix wrong text for the PCI default FB size Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 13:00 ` Anatolij Gustschin
2023-07-23 4:40 ` [PATCH 07/18] video: kconfig: Drop the superfluous dependency Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 13:00 ` Anatolij Gustschin
2023-07-23 4:40 ` [PATCH 08/18] video: kconfig: Set default FB size for Bochs Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 13:01 ` Anatolij Gustschin
2023-07-23 4:40 ` [PATCH 09/18] video: bochs: Set the frame buffer size per configuration Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-08-01 13:01 ` Anatolij Gustschin
2023-07-23 4:40 ` [PATCH 10/18] riscv: qemu: Enable Bochs video support Bin Meng
2023-07-27 0:50 ` Simon Glass
2023-07-23 4:40 ` [PATCH 11/18] console: kconfig: Drop the redundant VIDEO dependency Bin Meng
2023-07-23 6:40 ` Heinrich Schuchardt
2023-07-23 22:58 ` Simon Glass
2023-07-23 4:40 ` [PATCH 12/18] console: Make stdio_print_current_devices() static Bin Meng
2023-07-23 22:58 ` Simon Glass
2023-07-23 4:40 ` [PATCH 13/18] console: Refactor stdio_print_current_devices() a little bit Bin Meng
2023-07-23 6:39 ` Heinrich Schuchardt
2023-07-23 4:40 ` [PATCH 14/18] console: Print out complete stdio device list Bin Meng
2023-07-23 6:38 ` Heinrich Schuchardt
2023-07-23 12:04 ` Bin Meng
2023-07-23 12:47 ` Heinrich Schuchardt
2023-07-23 14:16 ` Bin Meng
2023-07-24 2:08 ` Simon Glass
2023-07-24 18:02 ` Tom Rini
2023-07-23 4:40 ` [PATCH 15/18] riscv: qemu: Enable PRE_CONSOLE_BUFFER Bin Meng
[not found] ` <SEZPR03MB806449404CFF3CB65A435E52C103A@SEZPR03MB8064.apcprd03.prod.outlook.com>
2023-07-25 7:20 ` Rick Chen
2023-07-27 0:50 ` Simon Glass
2023-07-23 4:40 ` [PATCH 16/18] riscv: define a cache line size for the generic CPU Bin Meng
2023-07-23 4:40 ` [PATCH 17/18] riscv: qemu: Remove out-of-date "riscv, kernel-start" handling Bin Meng
[not found] ` <SEZPR03MB80646AC3947DBFA62D910A47C103A@SEZPR03MB8064.apcprd03.prod.outlook.com>
2023-07-25 7:17 ` Rick Chen
2023-07-27 0:50 ` Simon Glass
2023-07-23 4:40 ` [PATCH 18/18] riscv: qemu: Enable usb keyboard as an input device Bin Meng
2023-07-23 6:11 ` Heinrich Schuchardt
2023-07-23 12:01 ` Bin Meng
2023-07-23 8:38 ` Mark Kettenis
2023-07-23 9:30 ` Heinrich Schuchardt
2023-07-23 10:11 ` Mark Kettenis
2023-07-24 18:11 ` Heinrich Schuchardt
[not found] ` <SEZPR03MB80643451FB26D109D4606A90C103A@SEZPR03MB8064.apcprd03.prod.outlook.com>
2023-07-25 7:05 ` Rick Chen
2023-07-27 0:50 ` Simon Glass
2023-07-25 4:10 ` [PATCH 00/18] video: bochs: Remove the x86 limitation Bin Meng
2023-07-31 5:26 ` Bin Meng
2023-08-01 13:03 ` Anatolij Gustschin
2023-08-01 13:43 ` Bin Meng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230801145935.207e70b9@crub \
--to=agust@denx.de \
--cc=bmeng@tinylab.org \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox