Re: [PATCH v5 00/25] passage: Define a standard for firmware data flow

2025-05-28 Thread Simon Glass
Hi Tom, On Wed, 28 May 2025 at 16:19, Tom Rini wrote: > > On Wed, May 28, 2025 at 03:32:12PM +0100, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 28 May 2025 at 15:25, Tom Rini wrote: > > > > > > On Wed, May 28, 2025 at 06:32:02AM -0600, Simon Glass

Re: [PATCH v5 00/25] passage: Define a standard for firmware data flow

2025-05-28 Thread Simon Glass
Hi Tom, On Wed, 28 May 2025 at 15:25, Tom Rini wrote: > > On Wed, May 28, 2025 at 06:32:02AM -0600, Simon Glass wrote: > > > > This series adds a standard way of passing information between different > > firmware phases. This already exists in U-Boot at a very basic lev

[PATCH v5 17/25] arm: qemu: Add an SPL build

2025-05-28 Thread Simon Glass
can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Drop common.h - Refresh the U-Boot output in the documentation - Use bootph tags arch/arm/dts/qemu-arm-u-boot.dtsi

[PATCH v5 18/25] arm: qemu: Add a 64-bit SPL build

2025-05-28 Thread Simon Glass
, so we can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a build for aarch64 as well arch/arm/dts/qemu-arm64-u-boot.dtsi | 29 ++ arch/arm/dts/qemu-arm64.dts

[PATCH v5 00/25] passage: Define a standard for firmware data flow

2025-05-28 Thread Simon Glass
ches already applied) - Rework global_data for new stdpass convention - Split the jump_to_image_no_args() change into its own patch - Update the commit message to mention the long lines - Use three registers instead of two for the entry Simon Glass (25): RFC: scripts: Add scripts for running QEM

[PATCH v4 15/22] arm: qemu: Add a 64-bit SPL build

2025-05-10 Thread Simon Glass
, so we can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a build for aarch64 as well arch/arm/dts/qemu-arm64-u-boot.dtsi | 29 ++ arch/arm/dts/qemu-arm64.dts

[PATCH v4 14/22] arm: qemu: Add an SPL build

2025-05-10 Thread Simon Glass
can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Drop common.h - Refresh the U-Boot output in the documentation - Use bootph tags arch/arm/dts/qemu-arm-u-boot.dtsi

[PATCH v3 14/22] arm: qemu: Add an SPL build

2025-04-17 Thread Simon Glass
can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- Changes in v3: - Drop common.h - Refresh the U-Boot output in the documentation - Use bootph tags arch/arm/dts/qemu-arm-u-boot.dtsi| 22 ++ arch/arm/dts

[PATCH v3 15/22] arm: qemu: Add a 64-bit SPL build

2025-04-17 Thread Simon Glass
, so we can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- Changes in v3: - Add a build for aarch64 as well arch/arm/dts/qemu-arm64-u-boot.dtsi | 29 +++ arch/arm/dts/qemu-arm64.dts | 338

[PATCH v3] hw/arm/virt: Allow additions to the generated device tree

2025-04-05 Thread Simon Glass
cular type of format. Link: https://docs.u-boot.org/en/latest/develop/devicetree/dt_qemu.html Link: https://patchwork.ozlabs.org/project/uboot/patch/20250405190711.365419-1-...@chromium.org/ Signed-off-by: Simon Glass --- Changes in v3: - Rebase to master Changes in v2: - Rebase to master docs

[PATCH v4 04/47] x86: qemu: Switch to bochs display

2025-03-15 Thread Simon Glass
as it doesn't need an option ROM. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- (no changes since v2) Changes in v2: - Redo commit message configs/qemu-x86_64_defconfig | 5 ++--- configs/qemu-x86_defconfig| 5 ++--- 2 files

[PATCH v5 00/46] x86: Improve operation under QEMU

2025-03-15 Thread Simon Glass
with a test for booting Ubuntu 24.04 Simon Glass (46): boot: Correct ramdisk address sandbox: Correct a typo in mapmem x86: Expand x86_64 early memory x86: qemu: Switch to bochs display x86: qemu: Enable dhrystone x86: qemu: Avoid accessing BSS too early x86: Drop mpspec from the SPL

[PATCH v5 05/46] x86: qemu: Enable dhrystone

2025-03-15 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/co

[PATCH v5 28/46] x86: qemu: Support environment and cat command

2025-03-15 Thread Simon Glass
Add support for an environment stored in the first partition of the disk, which is assumed to hold a FAT filesystem. Support the 'cat' command as it is useful for looking at extlinux.conf files. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_def

Re: [PATCH v4 00/47] x86: Improve operation under QEMU

2025-03-15 Thread Simon Glass
Hi Tom, On Sat, 15 Mar 2025 at 13:57, Tom Rini wrote: > > On Sat, Mar 15, 2025 at 12:54:25PM +, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 14 Mar 2025 at 16:06, Tom Rini wrote: > > > > > > On Fri, Mar 14, 2025 at 02:44:35PM +, Simon Glass

[PATCH v5 34/46] x86: qemu: Use the new e820 API

2025-03-15 Thread Simon Glass
Move over to use this API before making the code even more complicated. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to use the new e820 API arch/x86/cpu/qemu/e820.c | 48 ++-- 1 file changed, 12 insertions(+), 36

[PATCH v5 04/46] x86: qemu: Switch to bochs display

2025-03-15 Thread Simon Glass
as it doesn't need an option ROM. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- (no changes since v2) Changes in v2: - Redo commit message configs/qemu-x86_64_defconfig | 5 ++--- configs/qemu-x86_defconfig| 5 ++--- 2 files

[PATCH v5 06/46] x86: qemu: Avoid accessing BSS too early

2025-03-15 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 20

Re: [PATCH v4 00/47] x86: Improve operation under QEMU

2025-03-15 Thread Simon Glass
Hi Tom, On Fri, 14 Mar 2025 at 16:06, Tom Rini wrote: > > On Fri, Mar 14, 2025 at 02:44:35PM +, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 7 Mar 2025 at 14:23, Tom Rini wrote: > > > > > > On Thu, Mar 06, 2025 at 09:03:27AM -0700, Simon Glass

Re: [PATCH v4 00/47] x86: Improve operation under QEMU

2025-03-14 Thread Simon Glass
Hi Tom, On Fri, 7 Mar 2025 at 14:23, Tom Rini wrote: > > On Thu, Mar 06, 2025 at 09:03:27AM -0700, Simon Glass wrote: > > > U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it > > is not perfect. > > > > With both builds, executing the VESA RO

[PATCH v4 06/47] x86: qemu: Avoid accessing BSS too early

2025-03-08 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 20

[PATCH v4 00/47] x86: Improve operation under QEMU

2025-03-06 Thread Simon Glass
new patch with a helper to send characters - Add new patch to allow tests to be filtered by role - Add more patches to support booting with kvm - Add new patch with a test for booting Ubuntu 24.04 Simon Glass (47): boot: Correct ramdisk address sandbox: Correct a typo in mapmem x86: Expand

[PATCH v4 28/47] x86: qemu: Support environment and cat command

2025-03-06 Thread Simon Glass
Add support for an environment stored in the first partition of the disk, which is assumed to hold a FAT filesystem. Support the 'cat' command as it is useful for looking at extlinux.conf files. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_def

[PATCH v4 05/47] x86: qemu: Enable dhrystone

2025-03-06 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/co

[PATCH v4 34/47] x86: qemu: Use the new e820 API

2025-03-06 Thread Simon Glass
Move over to use this API before making the code even more complicated. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to use the new e820 API arch/x86/cpu/qemu/e820.c | 48 ++-- 1 file changed, 12 insertions(+), 36

[PATCH v3 00/44] x86: Improve operation under QEMU

2025-02-24 Thread Simon Glass
patch with a test for booting Ubuntu 24.04 Simon Glass (44): x86: Expand x86_64 early memory x86: qemu: Switch to bochs display x86: qemu: Enable dhrystone x86: qemu: Avoid accessing BSS too early x86: Drop mpspec from the SPL build x86: Add some log categories x86: Drop use of

[PATCH v3 04/44] x86: qemu: Avoid accessing BSS too early

2025-02-24 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 20

[PATCH v3 26/44] x86: qemu: Support environment and cat command

2025-02-24 Thread Simon Glass
Add support for an environment stored in the first partition of the disk, which is assumed to hold a FAT filesystem. Support the 'cat' command as it is useful for looking at extlinux.conf files. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_def

[PATCH v3 03/44] x86: qemu: Enable dhrystone

2025-02-24 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/co

[PATCH v3 02/44] x86: qemu: Switch to bochs display

2025-02-24 Thread Simon Glass
as it doesn't need an option ROM. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- (no changes since v2) Changes in v2: - Redo commit message configs/qemu-x86_64_defconfig | 5 ++--- configs/qemu-x86_defconfig| 5 ++--- 2 files

[PATCH v3 32/44] x86: qemu: Use the new e820 API

2025-02-24 Thread Simon Glass
Move over to use this API before making the code even more complicated. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to use the new e820 API arch/x86/cpu/qemu/e820.c | 48 ++-- 1 file changed, 12 insertions(+), 36 deletions(-) diff --git a

Re: [PATCH v2 00/28] x86: Improve operation under QEMU

2025-02-17 Thread Simon Glass
Hi Paolo, On Sun, 16 Feb 2025 at 14:14, Paolo Bonzini wrote: > > On 2/16/25 21:43, Simon Glass wrote: > > U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it > > is not perfect. > > > > With both builds, executing the VESA ROM causes an intermitt

Re: [PATCH v2 00/28] x86: Improve operation under QEMU

2025-02-17 Thread Simon Glass
Hi Tom, On Sun, 16 Feb 2025 at 14:57, Tom Rini wrote: > > On Sun, Feb 16, 2025 at 01:43:45PM -0700, Simon Glass wrote: > > > U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it > > is not perfect. > > > > With both builds, executing the VES

[PATCH v2 03/28] x86: qemu: Enable dhrystone

2025-02-16 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/co

[PATCH v2 04/28] x86: qemu: Avoid accessing BSS too early

2025-02-16 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 20

[PATCH v2 02/28] x86: qemu: Switch to bochs display

2025-02-16 Thread Simon Glass
as it doesn't need an option ROM. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- Changes in v2: - Redo commit message configs/qemu-x86_64_defconfig | 5 ++--- configs/qemu-x86_defconfig| 5 ++--- 2 files changed, 4 insertions(+), 6

[PATCH v2 00/28] x86: Improve operation under QEMU

2025-02-16 Thread Simon Glass
of is_power_of_2() - Add new patch to set an MTRR for the RAM in QEMU - Add new patch with a helper to send characters - Add new patch to allow tests to be filtered by role - Add more patches to support booting with kvm - Add new patch with a test for booting Ubuntu 24.04 Simon Glass (28): x86

[PATCH 04/18] x86: qemu: Enable dhrystone

2024-11-12 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/configs/qemu-x86_64_defconfig b/co

[PATCH 05/18] x86: qemu: Avoid accessing BSS too early

2024-11-12 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- arch/x86/cpu/qemu/qemu.c | 20 ++-- 1 file changed, 14

[PATCH 03/18] RFC: x86: qemu: Switch to bochs display

2024-11-12 Thread Simon Glass
as it doesn't need an option ROM. Unfortunately this causes the Ubuntu 22.04 installer to stop booting, which needs further investigation Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- configs/qemu-x86_64_defconfig | 5 ++--- co

[PATCH 00/18] x86: Improve operation under QEMU

2024-11-12 Thread Simon Glass
clear whether this due to a problem with the UEFI GOP, or something else. It hangs before the Ubuntu logo appears. So this series is unfinished. I thought it best to post what is here in the hope that others can help work out the kinks. Simon Glass (18): scripts: Add a script for building and booting

Re: [PATCH] vga: relax restriction on display width

2024-11-08 Thread Simon Rowe
Ping? On 04/10/2024, 09:39, "Simon Rowe" wrote: When validating the parameters of VBE ioport writes the X co-ordinate is silently rounded down to a multiple of 8. For valid resolutions (such as 1366x768) which are not divisible by 8 this causes miscalculations because the display s

[PATCH] vga: relax restriction on display width

2024-10-04 Thread Simon Rowe
client receives updates with a "staircase" effect. Reduce the rounding to a multiple of two. Signed-off-by: Simon Rowe --- hw/display/vga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/display/vga.c b/hw/display/vga.c index 892fedc8dc..ea659e2812 100644 --- a/

Re: Corrupt VNC display for 1366x768

2024-10-03 Thread Simon Rowe
} -r[VBE_DISPI_INDEX_VIRT_WIDTH] &= ~7u; +r[VBE_DISPI_INDEX_VIRT_WIDTH] &= ~1u; if (r[VBE_DISPI_INDEX_VIRT_WIDTH] > VBE_DISPI_MAX_XRES) { r[VBE_DISPI_INDEX_VIRT_WIDTH] = VBE_DISPI_MAX_XRES; } I don't know how functional correct this is. Regards Simon

Re: Corrupt VNC display for 1366x768

2024-10-03 Thread Simon Rowe
job=0x556dce217810 nrects=1 vnc_client_unthrottle_forced VNC client unthrottle forced offset state=0x556dce1c1b20 ioc=0x556dce9e1e70 I'm currently struggling to follow where the width parameter is taken from. Regards Simon

Re: Corrupt VNC display for 1366x768

2024-10-02 Thread Simon Rowe
h needs a x8 multiple. Thanks for the pointers. My failing VM is UEFI so I'm not sure all the mentions of legacy display emulation are significant. I was hoping it was just a processing problem in the VNC client update code (the display looks OK (sorta) apart from the tearing). Regards Simon

Corrupt VNC display for 1366x768

2024-10-02 Thread Simon Rowe
eantime. Could anyone give me any pointers as to where the problem may lie? Thanks Simon

[PATCH 15/19] arm: qemu: Allow SPL and TPL

2024-09-25 Thread Simon Glass
Indicate that these boards can be supported, so a new 'TPL' board can be added. Signed-off-by: Simon Glass --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 656f588a97c..dfc735237aa 100644 --- a/arch/arm/Kconfig +++

[PATCH 00/19] spl: Support a relocating jump between phases (VBE part F)

2024-09-25 Thread Simon Glass
ich so far have only been used on real hardware. Overall, without SPL_RELOC_LOADER enabled, this series provides a very small code-size benefit due to it dropping some unneeded symbols. Simon Glass (19): spl: Reduce the size of the bl_len field spl: Provide a way of indicating the phase to

Re: [PATCH v4] ptp: Add vDSO-style vmclock support

2024-08-22 Thread Simon Horman
On Wed, Aug 21, 2024 at 10:50:47PM +0100, David Woodhouse wrote: ... > diff --git a/drivers/ptp/ptp_vmclock.c b/drivers/ptp/ptp_vmclock.c ... > +#define VMCLOCK_FIELD_PRESENT(_c, _f) \ > + (_c)->size >= (offsetof(struct vmclock_abi, _f) + \ > +si

Re: [PATCH v2] plugins/stoptrigger: TCG plugin to stop execution under conditions

2024-07-16 Thread Simon Hamelin
On 7/16/24 01:08, Pierrick Bouvier wrote: On 7/15/24 01:09, Simon Hamelin wrote: Hello Pierrick, Could you share a bit more information on the final goal, if possible? Is that used for fuzzing binaries, security analysis, or other things? I'm currently using this plugin for sec

Re: [PATCH v2] plugins/stoptrigger: TCG plugin to stop execution under conditions

2024-07-15 Thread Simon Hamelin
On 7/15/24 10:09, Simon Hamelin wrote: Hello Pierrick, On 7/12/24 19:23, Pierrick Bouvier wrote: Hello Simon, On 7/12/24 00:53, Simon Hamelin wrote: On 7/11/24 12:03, Alex Bennée wrote: +static void exit_emulation(int return_code) +{ +    exit(return_code); +} + +static void

[PATCH v4] plugins/stoptrigger: TCG plugin to stop execution under conditions

2024-07-15 Thread Simon Hamelin
could stop QEMU execution. It could be used for research purposes to launch some code and deterministically stop it and understand where its execution flow went. Co-authored-by: Alexandre Iooss Signed-off-by: Simon Hamelin Signed-off-by: Alexandre Iooss --- v2: - use a scoreboard for counting

Re: [PATCH v2] plugins/stoptrigger: TCG plugin to stop execution under conditions

2024-07-15 Thread Simon Hamelin
Hello Pierrick, On 7/12/24 19:23, Pierrick Bouvier wrote: Hello Simon, On 7/12/24 00:53, Simon Hamelin wrote: On 7/11/24 12:03, Alex Bennée wrote: +static void exit_emulation(int return_code) +{ +    exit(return_code); +} + +static void exit_icount_reached(unsigned int cpu_index, void

[PATCH v3] plugins/stoptrigger: TCG plugin to stop execution under conditions

2024-07-12 Thread Simon Hamelin
could stop QEMU execution. It could be used for research purposes to launch some code and deterministically stop it and understand where its execution flow went. Co-authored-by: Alexandre Iooss Signed-off-by: Simon Hamelin Signed-off-by: Alexandre Iooss --- v2: - use a scoreboard for counting

Re: [PATCH v2] plugins/stoptrigger: TCG plugin to stop execution under conditions

2024-07-12 Thread Simon Hamelin
kle additional exit modes? What is your current use case for this? I'm currently using this plugin to determine where my programm stop after a given number of instructions executed. -- Simon Hamelin

[PATCH v2] plugins/stoptrigger: TCG plugin to stop execution under conditions

2024-07-10 Thread Simon Hamelin
could stop QEMU execution. It could be used for research purposes to launch some code and deterministically stop it and understand where its execution flow went. Co-authored-by: Alexandre Iooss Signed-off-by: Simon Hamelin Signed-off-by: Alexandre Iooss --- v2: - use a scoreboard for counting

[PATCH] plugins/stoptrigger: TCG plugin to stop execution under conditions

2024-07-09 Thread Simon Hamelin
could stop QEMU execution. It could be used for research purposes to launch some code and deterministically stop it and understand where its execution flow went. Co-authored-by: Alexandre Iooss Signed-off-by: Simon Hamelin Signed-off-by: Alexandre Iooss --- contrib/plugins/Makefile | 1

Re: [RFC PATCH v3] ptp: Add vDSO-style vmclock support

2024-07-08 Thread Simon Horman
On Sat, Jul 06, 2024 at 04:14:39PM +0100, David Woodhouse wrote: > From: David Woodhouse > > The vmclock "device" provides a shared memory region with precision clock > information. By using shared memory, it is safe across Live Migration. > > Like the KVM PTP clock, this can convert TSC-based c

[PATCH v6 6/7] x86: qemu: Expand ROM size

2024-01-04 Thread Simon Glass
Expand the ROM for x86_64 to 2MB to make space for the font, as it is already on the edge. Signed-off-by: Simon Glass --- (no changes since v1) board/emulation/qemu-x86/Kconfig | 3 ++- configs/qemu-x86_64_defconfig| 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a

[PATCH v6 0/7] Resolve issues with booting distros on x86

2024-01-04 Thread Simon Glass
new patch to drop unnecessary truetype operations from SPL - Add new patch to enable truetype fonts in coreboot - Add new patch to enable truetype fonts in qemu-x86 and qemu-x86_64 Changes in v2: - Add new patch to add a coreboot boot script Simon Glass (7): x86: coreboot: Add a boot scri

[PATCH v6 7/7] x86: qemu: Enable truetype fonts

2024-01-04 Thread Simon Glass
Enable this feature to provide a larger font choice and more attractive menus. Expand the ROM for x86_64 to 2MB to make space for the font. Signed-off-by: Simon Glass --- Changes in v6: - Move 'Avoid unbinding devices in use by bootflows' to another series Changes in v3: - Add ne

Re: [PATCH v6 0/9] Fix cursor planes with virtualized drivers

2023-11-23 Thread Simon Ser
On Wednesday, November 22nd, 2023 at 13:49, Javier Martinez Canillas wrote: > Any objections to merge the series ? No objections from me :)

[PATCH v2] hw/arm/virt: Allow additions to the generated device tree

2023-11-16 Thread Simon Glass
cular type of format. [resending this as the original patch has gone stale] Signed-off-by: Simon Glass --- Changes in v2: - Rebase to master docs/system/arm/virt.rst | 13 +++- hw/arm/virt.c| 135 +++ hw/core/machine.c| 20 ++

Re: [PATCH v6 0/9] Fix cursor planes with virtualized drivers

2023-10-23 Thread Simon Ser
On Monday, October 23rd, 2023 at 10:14, Albert Esteve wrote: > On Mon, Oct 23, 2023 at 9:55 AM Simon Ser wrote: > > > On Monday, October 23rd, 2023 at 09:46, Albert Esteve > > wrote: > > > > > Link to the IGT test covering this patch (already merged): &g

Re: [PATCH v6 1/9] drm: Disable the cursor plane on atomic contexts with virtualized drivers

2023-10-23 Thread Simon Ser
Acked-by: Simon Ser

Re: [PATCH v6 0/9] Fix cursor planes with virtualized drivers

2023-10-23 Thread Simon Ser
On Monday, October 23rd, 2023 at 09:46, Albert Esteve wrote: > Link to the IGT test covering this patch (already merged): > https://lists.freedesktop.org/archives/igt-dev/2023-July/058427.html Hmm. IGT should not be merged before the kernel, because as long as the kernel is not merged there mig

Re: [PATCH v2 1/2] hw/ide: reset: cancel async DMA operation before resetting state

2023-10-05 Thread Simon Rowe
On Wednesday, 6 September 2023 Fiona Ebner wrote: > If there is a pending DMA operation during ide_bus_reset(), the fact > that the IDEState is already reset before the operation is canceled > can be problematic. In particular, ide_dma_cb() might be called and > then use the reset IDEState which

Re: [PATCH 1/1] hw/ide/core: terminate in-flight DMA on IDE bus reset

2023-10-04 Thread Simon Rowe
On Tuesday, 3 October 2023 John Snow wrote: > Simon, can you confirm that Fiona's patches are appropriate for your > reproducer? In the meantime I'll do my > own audit for the problem as you described it (thank you very much for that) > and see if there's anyth

Re: [PATCH 1/1] hw/ide/core: terminate in-flight DMA on IDE bus reset

2023-10-03 Thread Simon Rowe
processing the end-of-transfer block on a newly > reset (or about-to-be reset) device. I understand, do you think there’s a better approach? Regards Simon

Re: [PATCH 1/1] hw/ide/core: terminate in-flight DMA on IDE bus reset

2023-10-02 Thread Simon Rowe
On Thursday, 28 September 2023 Fiona Ebner wrote: > AFAICT, yes, because the DMA callback is invoked before resetting the > state now. But not 100% sure if it can't be triggered in some other way, > maybe Simon knows more? I don't have a reproducer for the CVE either, >

[PATCH 1/1] hw/ide/core: terminate in-flight DMA on IDE bus reset

2023-09-21 Thread Simon Rowe
is still set in the DMA callback (as it is otherwise cleared at the start of the bus reset). If it is not, treat the transfer as ended. This only appears to affect SATA controllers, plain IDE does not use aio. Fixes: CVE-2023-5088 Signed-off-by: Simon Rowe Cc: Felipe Franciosi --- hw/ide/core.c

[PATCH 0/1] CVE-2023-5088

2023-09-21 Thread Simon Rowe
er in: https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg03883.html Simon Rowe (1): hw/ide/core: terminate in-flight DMA on IDE bus reset hw/ide/core.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- 2.22.3

Re: Lost partition tables on ide-hd + ahci drive

2023-07-27 Thread Simon Rowe
On Wednesday, 14 June 2023 Simon Rowe wrote: > We've also seen a handful of similar reports. Again, just the MBR sector > overwritten by what looks to be guest data (e.g. log messages). The > common thread with our incidents is again a SATA disk under the AHCI > controller,

Re: Lost partition tables on ide-hd + ahci drive

2023-06-15 Thread Simon Rowe
arlier write failure. Regards Simon

Re: Lost partition tables on ide-hd + ahci drive

2023-06-14 Thread Simon J. Rowe
a (e.g. log messages). The common thread with our incidents is again a SATA disk under the AHCI controller, we have a network backend (iSCSI) which has experienced a failure. I've tried to repro this with blkdebug and simulated write errors, without success. Regards Simon

Re: [BUG][KVM_SET_USER_MEMORY_REGION] KVM_SET_USER_MEMORY_REGION failed

2023-03-23 Thread Simon Jones
ot;cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":true,"no-flush

Re: [BUG][KVM_SET_USER_MEMORY_REGION] KVM_SET_USER_MEMORY_REGION failed

2023-03-22 Thread Simon Jones
This is happened in ubuntu22.04. QEMU is install by apt like this: apt install -y qemu qemu-kvm qemu-system and QEMU version is 6.2.0 Simon Jones Simon Jones 于2023年3月21日周二 08:40写道: > > > Hi all, > > I start a VM in openstack, and openstack use libvirt to start qemu VM

[BUG][KVM_SET_USER_MEMORY_REGION] KVM_SET_USER_MEMORY_REGION failed

2023-03-21 Thread Simon Jones
m-x86_64 /dev/urandom ``` ---- Simon Jones

Re: [PULL 2/3] edk2: replace build scripts

2023-03-20 Thread Simon Glass
ll, silent means no output from the "build" command, so the console is > not flooded with build logs (unless there are build errors), output is > written to logfiles instead. We have a different understanding of 'silent' ::-) > > > If the config file is not found, it seems to say nothing, but just > > does not work. It should give an error. > > Fixed. Works fine. Thanks for the great script and the fixes. Regards, Simon

Re: [PULL 3/3] edk2: update firmware binaries

2023-03-10 Thread Simon Glass
Hi Gerd, On Thu, 9 Mar 2023 at 22:38, Gerd Hoffmann wrote: > > On Thu, Mar 09, 2023 at 02:09:30PM -0800, Simon Glass wrote: > > Hi Gerd, > > > > Where did these binaries come from? What commit and how were they built? > > See patch 1/3 for the source (edk2 submo

Re: [PULL 2/3] edk2: replace build scripts

2023-03-10 Thread Simon Glass
: > +cmdline += [ '-n', jobs ] > +for arch in cfg[build]['arch'].split(): > +cmdline += [ '-a', arch ] > +if 'opts' in cfg[build]: > +for name in cfg[build]['opts'].split(): > +section = 'opts.' + name > +for opt in cfg[section]: > +cmdline += [ '-D', opt + '=' + cfg[section][opt] ] > +if 'pcds' in cfg[build]: > +for name in cfg[build]['pcds'].split(): > +section = 'pcds.' + name > +for pcd in cfg[section]: > +cmdline += [ '--pcd', pcd + '=' + cfg[section][pcd] ] > +if 'tgts' in cfg[build]: > +tgts = cfg[build]['tgts'].split() > +else: > +tgts = [ 'DEBUG' ] > +for tgt in tgts: > +desc = None > +if 'desc' in cfg[build]: > +desc = cfg[build]['desc'] > +build_message(f'building: {cfg[build]["conf"]} > ({cfg[build]["arch"]}, {tgt})', > + f'description: {desc}') > +build_run(cmdline + [ '-b', tgt ], > + cfg[build]['conf'], > + build + '.' + tgt, > + silent) > + > +if 'plat' in cfg[build]: > +# copy files > +for cpy in cfg[build]: > +if not cpy.startswith('cpy'): > +continue > +build_copy(cfg[build]['plat'], > + tgt, > + cfg[build]['dest'], > + cfg[build][cpy]) > +# pad builds > +for pad in cfg[build]: > +if not pad.startswith('pad'): > +continue > +pad_file(cfg[build]['dest'], > + cfg[build][pad]) > + [..] Regards, Simon

Re: [PULL 3/3] edk2: update firmware binaries

2023-03-09 Thread Simon Glass
Hi Gerd, Where did these binaries come from? What commit and how were they built? Regards, Simon

Re: [PATCH] hw/arm/virt: Allow additions to the generated device tree

2023-02-07 Thread Simon Glass
roposal at least on the intent. On the how >> exactly, that is outside my skillset. > > Responding to my own comment: > As the boot flow TFA+U-Boot works, it looks like a cleaner option is to leave > QEMU alone and have > U-Boot SPL do the same work as with TFA: use a section f

Sad to see the advent calendar go

2022-12-05 Thread Simon Sharwood
Hi QEMU folk, Simon Sharwood here, virtualization writer for Theregister.com Sad to see the advent calendar going ... I was looking forward to the 2022 edition. I'm totally freelancing in a personal capacity here and not writing a story ... but what order of magnitude of costs are you looki

Re: [PULL 52/54] contrib/gitdm: add Simon to individual contributors

2022-10-04 Thread Simon Safar
On Tue, Oct 4, 2022, at 6:01 AM, Alex Bennée wrote: > Please confirm this is the correct mapping for you. Looks good to me, thank you!!! > Signed-off-by: Alex Bennée > Reviewed-by: Simon Safar > Message-Id: <20220926134609.3301945-2-alex.ben...@linaro.org> > > diff --g

Re: [PATCH v1 1/7] contrib/gitdm: add Simon to individual contributors

2022-10-02 Thread Simon Safar
Hi Alex, On Mon, Sep 26, 2022, at 6:46 AM, Alex Bennée wrote: > Please confirm this is the correct mapping for you. it's the correct mapping, thanks for adding it! (... & sorry for the multi-day latency!) Reviewed-by: Simon Safar > > Signed-off-by: Alex Bennée

Re: Booting bare-metal RISC-V virt (Was: [PATCH] Add some documentation for "dtb" devices tree blobs)

2022-06-26 Thread Simon Sapin
t this convention as something guest code can rely on? -- Simon Sapin

Re: [PATCH] Add some documentation for "dtb" devices tree blobs

2022-06-25 Thread Simon Sapin
On 26/06/2022 00:34, Simon Sapin wrote: diff --git qemu-options.hx qemu-options.hx index 377d22fbd8..eea75ddb37 100644 --- qemu-options.hx +++ qemu-options.hx @@ -38,6 +38,7 @@ DEF("machine", HAS_ARG, QEMU_OPTION_machine, \ "hmat=on|off controls ACPI HMAT s

Booting bare-metal RISC-V virt (Was: [PATCH] Add some documentation for "dtb" devices tree blobs)

2022-06-25 Thread Simon Sapin
On 26/06/2022 00:34, Simon Sapin wrote: +On startup, the dtb is memory-mapped and its address is passed to the guest +in a target-specific way: + +* Arm: :ref:`arm-baremetal` +* **TODO**: document other targets Hello, My current interest is playing with bare-metal / freestanding RISC-V, using

[PATCH] Add some documentation for "dtb" devices tree blobs

2022-06-25 Thread Simon Sapin
Signed-off-by: Simon Sapin --- docs/specs/device-trees.rst| 57 ++ docs/specs/index.rst | 1 + docs/system/arm/virt.rst | 5 +- docs/system/arm/xlnx-versal-virt.rst | 3 +- docs/system/ppc/ppce500.rst

[PATCH 2/2] Convert fw_cfg.rst to reStructuredText syntax

2022-06-25 Thread Simon Sapin
And add it to specs/index.rst Signed-off-by: Simon Sapin --- docs/specs/fw_cfg.rst | 211 +++--- docs/specs/index.rst | 1 + 2 files changed, 119 insertions(+), 93 deletions(-) diff --git docs/specs/fw_cfg.rst docs/specs/fw_cfg.rst index 3e6d586f66

Re: [PATCH 2/2] Convert fw_cfg.rst to reStructuredText syntax

2022-06-25 Thread Simon Sapin
On 25/06/2022 18:14, Simon Sapin wrote: And add it to specs/index.rst I meant to add to this commit message: This is part of https://gitlab.com/qemu-project/qemu/-/issues/527 -- Simon Sapin

[PATCH 1/2] Rename docs/specs/fw_cfg.txt to .rst

2022-06-25 Thread Simon Sapin
This is a separate commit in order to make reviewing the next one easier. Signed-off-by: Simon Sapin --- docs/specs/{fw_cfg.txt => fw_cfg.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/specs/{fw_cfg.txt => fw_cfg.rst} (100%) diff --git docs/specs/fw_cfg.txt docs

Re: [PATCH v2] target/xtensa: import core lx106

2022-04-25 Thread Simon Safar
" is really just reordering cores.list after running the script :)) Simon

Re: [PATCH] target/xtensa: import core lx106

2022-04-25 Thread Simon Safar
mewhere eventually once it's not a complete mess & starts doing something interesting! assuming this ever happens, of course.) Simon

Re: [PATCH] target/xtensa: import core lx106

2022-04-23 Thread Simon Safar
eryone else is just using the official C toolchain?) Simon

Anjin Virtual Computer

2022-02-10 Thread Simon Gillespie
Hello, Could those interested in my project please contact me at this email address. I have been informed there are some interested parties via another channel. Thank you for your interest. Best, Simon Gillespie.

Re: [PATCH v2] MIPS - fix cycle counter timing calculations

2021-12-14 Thread Simon Burge
the patch submission page. > Patch queued to mips-next, thanks. Thanks! Cheers, Simon.

Re: [PATCH] MIPS - fix cycle counter timing calculations

2021-12-13 Thread Simon Burge
. Hopefully I've configured "git format-patch" and "git send-email" correctly and sent a better patch to the mailing list. I'll make sure to include the maintainers in future patches. Cheers, Simon.

  1   2   3   4   >