Re: [XEN PATCH v14 2/5] x86/pvh: Allow (un)map_pirq when dom0 is PVH

2024-09-05 Thread Jan Beulich
On 06.09.2024 00:51, Stefano Stabellini wrote: > On Thu, 5 Sep 2024, Jan Beulich wrote: >> On 05.09.2024 08:45, Chen, Jiqian wrote: >>> HI, >>> >>> On 2024/9/4 14:04, Jan Beulich wrote: On 04.09.2024 03:43, Stefano Stabellini wrote: > On Tue, 3 Sep 2024, Jan Beulich wrote: >> On 03.09.

Re: [xen-unstable test] 187507: regressions - FAIL

2024-09-05 Thread Jan Beulich
On 06.09.2024 06:41, osstest service owner wrote: > flight 187507 xen-unstable real [real] > http://logs.test-lab.xenproject.org/osstest/logs/187507/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > build-i386-xsm6

Re: [XEN PATCH] automation/eclair_analysis: address violations of Rule 18.2

2024-09-05 Thread Jan Beulich
On 05.09.2024 18:37, Nicola Vetrini wrote: > MISRA C Rule 18.2 states: "Subtraction between pointers shall > only be applied to pointers that address elements of the same array". > > Subtractions between pointer where at least one symbol is a > symbol defined by the linker are safe and thus deviat

Re: [ping] Re: [PATCH 2/3] xen/ppc: Adjust ppc64_defconfig

2024-09-05 Thread Jan Beulich
On 05.09.2024 23:54, Andrew Cooper wrote: > On 21/06/2024 9:19 pm, Andrew Cooper wrote: >> All of CONFIG_SCHED_*, and CONFIG_HYPFS build fine. >> >> Add a stub for share_xen_page_with_guest(), which is all that is necessary to >> make CONFIG_TRACEBUFFER build. >> >> No functional change. >> >> Sign

Re: [PATCH 3/3] x86/trampoline: Collect other scattered trampoline symbols

2024-09-05 Thread Jan Beulich
On 05.09.2024 18:10, Andrew Cooper wrote: > On 05/09/2024 4:42 pm, Jan Beulich wrote: >> On 05.09.2024 15:06, Andrew Cooper wrote: >>> --- a/xen/arch/x86/efi/efi-boot.h >>> +++ b/xen/arch/x86/efi/efi-boot.h >>> @@ -102,9 +102,6 @@ static void __init efi_arch_relocate_image(unsigned >>> long delta)

[xen-unstable test] 187507: regressions - FAIL

2024-09-05 Thread osstest service owner
flight 187507 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/187507/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm6 xen-buildfail REGR. vs. 187498 build-i386

[ovmf test] 187512: all pass - PUSHED

2024-09-05 Thread osstest service owner
flight 187512 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/187512/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf bfb33c0e09b0cf05460168c00ec43817b835f897 baseline version: ovmf 013d51771a67ff87e6cb1

[qemu-mainline test] 187505: regressions - FAIL

2024-09-05 Thread osstest service owner
flight 187505 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/187505/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 6 xen-buildfail REGR. vs. 187495 Tests which did n

Re: [PATCH v3 3/5] xen/bitops: Implement hweight32() in terms of hweightl()

2024-09-05 Thread Andrew Cooper
On 06/09/2024 12:08 am, Stefano Stabellini wrote: > On Wed, 4 Sep 2024, Andrew Cooper wrote: >> ... and drop generic_hweight32(). >> >> As noted previously, the only two users of hweight32() are in __init paths. >> >> The int-optimised form of generic_hweight() is only two instructions shorter >> t

[linux-linus test] 187504: tolerable FAIL - PUSHED

2024-09-05 Thread osstest service owner
flight 187504 linux-linus real [real] flight 187509 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/187504/ http://logs.test-lab.xenproject.org/osstest/logs/187509/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-

Re: [PATCH v3 4/5] xen/bitops: Implement hweight64() in terms of hweight{l,32}()

2024-09-05 Thread Stefano Stabellini
On Wed, 4 Sep 2024, Andrew Cooper wrote: > ... and drop generic_hweight{32,64}(). > > This is identical on all architectures except ARM32. Add one extra SELF_TEST > to check that hweight64() works when the input is split in half. > > No functional change. > > Signed-off-by: Andrew Cooper > Rev

Re: [PATCH v3 3/5] xen/bitops: Implement hweight32() in terms of hweightl()

2024-09-05 Thread Stefano Stabellini
On Wed, 4 Sep 2024, Andrew Cooper wrote: > ... and drop generic_hweight32(). > > As noted previously, the only two users of hweight32() are in __init paths. > > The int-optimised form of generic_hweight() is only two instructions shorter > than the long-optimised form, and even then only on archi

Re: [PATCH v3 2/5] xen/bitops: Drop the remnants of hweight{8,16}()

2024-09-05 Thread Stefano Stabellini
On Wed, 4 Sep 2024, Andrew Cooper wrote: > They are no more. No functional change. > > Signed-off-by: Andrew Cooper > Acked-by: Jan Beulich Acked-by: Stefano Stabellini

Re: [XEN PATCH] automation/eclair_analysis: address violations of Rule 18.2

2024-09-05 Thread Stefano Stabellini
On Thu, 5 Sep 2024, Nicola Vetrini wrote: > MISRA C Rule 18.2 states: "Subtraction between pointers shall > only be applied to pointers that address elements of the same array". > > Subtractions between pointer where at least one symbol is a > symbol defined by the linker are safe and thus deviate

Re: [XEN PATCH v14 2/5] x86/pvh: Allow (un)map_pirq when dom0 is PVH

2024-09-05 Thread Stefano Stabellini
On Thu, 5 Sep 2024, Jan Beulich wrote: > On 05.09.2024 08:45, Chen, Jiqian wrote: > > HI, > > > > On 2024/9/4 14:04, Jan Beulich wrote: > >> On 04.09.2024 03:43, Stefano Stabellini wrote: > >>> On Tue, 3 Sep 2024, Jan Beulich wrote: > On 03.09.2024 12:53, Chen, Jiqian wrote: > > On 2024/9

[PATCH 4/5] x86/cache: Drop legacy __read_mostly/__ro_after_init definitions

2024-09-05 Thread Andrew Cooper
Lots of files were picking these up transitively, including lib.h However, lib.h needs __read_mostly for printk_once() and this has the side effect of kicking the transitive can down the road. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Stefano Stabellini CC: Juli

[PATCH 2/5] xen/build: Drop unused includes of xen/cache.h

2024-09-05 Thread Andrew Cooper
None of these are used, not even transitively. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Stefano Stabellini CC: Julien Grall CC: Volodymyr Babchuk CC: Bertrand Marquis CC: Michal Orzel --- xen/arch/x86/bzimage.c | 1 - xen/arch/x86/dmi_scan.c

[PATCH 1/5] x86/build: Rework includes in genapic/probe.c

2024-09-05 Thread Andrew Cooper
probe.c includes a large number of headers which are unused, and not from churn so far as I can see in history. Strip back to a reasonable set. One complication is that genapic.h has to include xen/cpumask.h because there's no way to forward declare a cpumask_t. Also strip trailing whitespace wh

[PATCH 3/5] x86/build: Swap cache.h includes for xen/sections.h

2024-09-05 Thread Andrew Cooper
These include {xen/asm}/cache.h but only want xen/sections.h. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Stefano Stabellini CC: Julien Grall CC: Volodymyr Babchuk CC: Bertrand Marquis CC: Michal Orzel --- xen/arch/x86/acpi/cpu_idle.c| 3 ++- xen/arch/x86/

[PATCH 0/5] xen: Remove legacy __read_mostly/__ro_after_init definitions

2024-09-05 Thread Andrew Cooper
This continues prior work done for PPC and RISCV. Patches 1-4 are some header rearranging for x86, with the convenient side effect of letting ARM fall out in the wash in patch 5. I've done a reasonable amount of Gitlab CI work, but I cant claim to have tried every possible combination. RANDCONFI

[PATCH 5/5] ARM/cache: Drop legacy __read_mostly/__ro_after_init definitions

2024-09-05 Thread Andrew Cooper
These are no longer needed. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Stefano Stabellini CC: Julien Grall CC: Volodymyr Babchuk CC: Bertrand Marquis CC: Michal Orzel --- xen/arch/arm/include/asm/cache.h | 3 --- xen/include/xen/cache.h | 5 - 2

[ping] Re: [PATCH 2/3] xen/ppc: Adjust ppc64_defconfig

2024-09-05 Thread Andrew Cooper
On 21/06/2024 9:19 pm, Andrew Cooper wrote: > All of CONFIG_SCHED_*, and CONFIG_HYPFS build fine. > > Add a stub for share_xen_page_with_guest(), which is all that is necessary to > make CONFIG_TRACEBUFFER build. > > No functional change. > > Signed-off-by: Andrew Cooper > --- > CC: Shawn Anastasi

Community Call Recording - September 2024

2024-09-05 Thread Kelly Choi
Hi everyone, The community call recording has been uploaded. YouTube link: https://youtu.be/bVnZtQWzLtI Cryptpad file: https://cryptpad.fr/pad/#/2/pad/view/iPdSDDD4+An7kt0UT1V32t9f-rfyEQ4wJWqYj5cZCmg/ Many thanks, Kelly Choi Community Manager Xen Project

Need help to support Xen on Zephyr

2024-09-05 Thread Naresh Ravulapalli
Hi Team I am trying to bring-up Zephyr as a domU guest with Linux as dom0. My devkit has an ARM-A55 core and currently, Xen support in Zephyr ( https://github.com/zephyrproject-rtos/zephyr) is limited with only timer and GIC virtualized with support to a HVC console. I am trying to add more devic

[ovmf test] 187508: all pass - PUSHED

2024-09-05 Thread osstest service owner
flight 187508 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/187508/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 013d51771a67ff87e6cb17a57e156ef4b6f4ec54 baseline version: ovmf 3151798123e1419e74ebe

[XEN PATCH] automation/eclair_analysis: address violations of Rule 18.2

2024-09-05 Thread Nicola Vetrini
MISRA C Rule 18.2 states: "Subtraction between pointers shall only be applied to pointers that address elements of the same array". Subtractions between pointer where at least one symbol is a symbol defined by the linker are safe and thus deviated, because the compiler cannot exploit the undefined

Re: [PATCH 3/3] x86/trampoline: Collect other scattered trampoline symbols

2024-09-05 Thread Andrew Cooper
On 05/09/2024 5:34 pm, Frediano Ziglio wrote: > On Thu, Sep 5, 2024 at 5:10 PM Andrew Cooper > wrote: > > On 05/09/2024 4:42 pm, Jan Beulich wrote: > > On 05.09.2024 15:06, Andrew Cooper wrote: > >> --- a/xen/arch/x86/efi/efi-boot.h > >> +++ b/xen/arch/x86/efi/efi-boot.h > >> @

Re: [PATCH 3/3] x86/trampoline: Collect other scattered trampoline symbols

2024-09-05 Thread Frediano Ziglio
On Thu, Sep 5, 2024 at 5:10 PM Andrew Cooper wrote: > On 05/09/2024 4:42 pm, Jan Beulich wrote: > > On 05.09.2024 15:06, Andrew Cooper wrote: > >> --- a/xen/arch/x86/efi/efi-boot.h > >> +++ b/xen/arch/x86/efi/efi-boot.h > >> @@ -102,9 +102,6 @@ static void __init efi_arch_relocate_image(unsigned

Re: [PULL v1 00/12] Xen queue

2024-09-05 Thread Peter Maydell
On Wed, 4 Sept 2024 at 17:15, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" > > The following changes since commit e638d685ec2a0700fb9529cbd1b2823ac4120c53: > > Open 9.2 development tree (2024-09-03 09:18:43 -0700) > > are available in the Git repository at: > > https://gitlab.com/ed

Re: [multiple_bits_set()] New Defects reported by Coverity Scan for XenProject

2024-09-05 Thread Andrew Cooper
On 04/09/2024 10:59 am, scan-ad...@coverity.com wrote: > Hi, > > Please find the latest report on new defect(s) introduced to XenProject found > with Coverity Scan. > > 1 new defect(s) introduced to XenProject found with Coverity Scan. > > > New defect(s) Reported-by: Coverity Scan > Showing 1 of

Re: [PATCH 3/3] x86/trampoline: Collect other scattered trampoline symbols

2024-09-05 Thread Andrew Cooper
On 05/09/2024 4:42 pm, Jan Beulich wrote: > On 05.09.2024 15:06, Andrew Cooper wrote: >> --- a/xen/arch/x86/efi/efi-boot.h >> +++ b/xen/arch/x86/efi/efi-boot.h >> @@ -102,9 +102,6 @@ static void __init efi_arch_relocate_image(unsigned long >> delta) >> } >> } >> >> -extern const s32 __tram

[XEN PATCH v1] x86/mwait-idle: add dependency on general Intel CPU support

2024-09-05 Thread Sergiy Kibrik
Currently mwait_idle driver in Xen only implements support for Intel CPUs. Thus in order to reduce dead code in non-Intel build configurations it can be made explicitly dependant on CONFIG_INTEL option. Signed-off-by: Sergiy Kibrik --- xen/arch/x86/cpu/Makefile | 2 +- xen/arch/x86/incl

[libvirt test] 187501: tolerable all pass - PUSHED

2024-09-05 Thread osstest service owner
flight 187501 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/187501/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 16 saverestore-support-checkfail like 187489 test-amd64-amd64-libvirt-xsm 15 migrate-s

Re: [PATCH v4 4/6] x86/time: introduce probing logic for the wallclock

2024-09-05 Thread Jan Beulich
On 04.09.2024 17:31, Roger Pau Monne wrote: > --- a/xen/arch/x86/time.c > +++ b/xen/arch/x86/time.c > @@ -1291,14 +1291,23 @@ static bool __get_cmos_time(struct rtc_time *rtc) > return t1 <= SECONDS(1) && t2 < MILLISECS(3); > } > > -static bool cmos_probe(struct rtc_time *rtc_p, bool cmos_r

Re: [PATCH v4 3/6] x86/time: split CMOS read and probe logic into function

2024-09-05 Thread Jan Beulich
On 04.09.2024 17:31, Roger Pau Monne wrote: > The current logic to probe for the CMOS RTC is open-coded in get_cmos_time(), > move it to a separate function that both serves the purpose of testing for the > CMOS RTC existence and returning its value. > > The goal is to be able to split the probing

[XEN PATCH v6] CODING_STYLE: Add a section on header guards naming conventions

2024-09-05 Thread Alessandro Zucchelli
This section explains which format should be followed by header inclusion guards via a drop-down list of rules. No functional change. Signed-off-by: Alessandro Zucchelli --- Changes in v6: - edit inclusion guards naming conventions, including more details Changes in v5: - edit inclusion guards

Re: [PATCH 2/3] x86/trampoline: Move the trampoline declarations out of

2024-09-05 Thread Andrew Cooper
On 05/09/2024 4:47 pm, Jan Beulich wrote: > On 05.09.2024 17:45, Andrew Cooper wrote: >> On 05/09/2024 4:35 pm, Jan Beulich wrote: >>> On 05.09.2024 15:06, Andrew Cooper wrote: asm/config.h is included in every translation unit (via xen/config.h), while only a handful of functions a

Re: [PATCH 2/3] x86/trampoline: Move the trampoline declarations out of

2024-09-05 Thread Jan Beulich
On 05.09.2024 17:45, Andrew Cooper wrote: > On 05/09/2024 4:35 pm, Jan Beulich wrote: >> On 05.09.2024 15:06, Andrew Cooper wrote: >>> asm/config.h is included in every translation unit (via xen/config.h), while >>> only a handful of functions actually interact with the trampoline. >>> >>> Move the

Re: [PATCH v4 2/6] x86/time: move CMOS edge detection into read helper

2024-09-05 Thread Jan Beulich
On 04.09.2024 17:31, Roger Pau Monne wrote: > Move the logic that ensures the CMOS RTC data is read just after it's been > updated into the __get_cmos_time() function that does the register reads. > This > requires returning a boolean from __get_cmos_time() to signal whether the read > has been s

Re: [PATCH v6 2/9] xen/riscv: use {read,write}{b,w,l,q}_cpu() to define {read,write}_atomic()

2024-09-05 Thread oleksii . kurochko
On Wed, 2024-09-04 at 11:31 +0100, Andrew Cooper wrote: > On 04/09/2024 11:27 am, oleksii.kuroc...@gmail.com wrote: > > On Tue, 2024-09-03 at 15:21 +0100, Andrew Cooper wrote: > > > On 02/09/2024 6:01 pm, Oleksii Kurochko wrote: > > > > diff --git a/xen/arch/riscv/include/asm/atomic.h > > > > b/xen

Re: [PATCH v4 1/6] x86/time: introduce helper to fetch Xen wallclock when running as a guest

2024-09-05 Thread Jan Beulich
On 04.09.2024 17:31, Roger Pau Monne wrote: > Move the current code in get_wallclock_time() to fetch the Xen wallclock > information from the shared page when running as a guest into a separate > helper. > > No functional change intended. > > Signed-off-by: Roger Pau Monné Acked-by: Jan Beulich

Re: [PATCH 2/3] x86/trampoline: Move the trampoline declarations out of

2024-09-05 Thread Andrew Cooper
On 05/09/2024 4:35 pm, Jan Beulich wrote: > On 05.09.2024 15:06, Andrew Cooper wrote: >> asm/config.h is included in every translation unit (via xen/config.h), while >> only a handful of functions actually interact with the trampoline. >> >> Move the infrastructure into its own header, and take the

Re: [PATCH 3/3] x86/trampoline: Collect other scattered trampoline symbols

2024-09-05 Thread Jan Beulich
On 05.09.2024 15:06, Andrew Cooper wrote: > kbd_shift_flags seems especially dubious. It's a snapshot of the keyboard > state when Xen happened to pass through the trampoline, and surely cannot be > useful for dom0 in the slightest... No more or less than if the kernel takes such a snapshot while

Re: [PATCH 1/3] x86/acpi: Drop acpi_video_flags and use bootsym(video_flags) directly

2024-09-05 Thread Andrew Cooper
On 05/09/2024 4:05 pm, Alejandro Vallejo wrote: > On Thu Sep 5, 2024 at 2:06 PM BST, Andrew Cooper wrote: >> This removes a level of indirection, as well as removing a somewhat >> misleading >> name; the variable is really "S3 video quirks". > nit: Would it be beneficial to rename video_flags to s

Re: [PATCH 2/3] x86/trampoline: Move the trampoline declarations out of

2024-09-05 Thread Jan Beulich
On 05.09.2024 15:06, Andrew Cooper wrote: > asm/config.h is included in every translation unit (via xen/config.h), while > only a handful of functions actually interact with the trampoline. > > Move the infrastructure into its own header, and take the opportunity to > document everything. > > Als

[xen-unstable test] 187498: tolerable FAIL - PUSHED

2024-09-05 Thread osstest service owner
flight 187498 xen-unstable real [real] flight 187506 xen-unstable real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/187498/ http://logs.test-lab.xenproject.org/osstest/logs/187506/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd6

Re: [PATCH 1/3] x86/acpi: Drop acpi_video_flags and use bootsym(video_flags) directly

2024-09-05 Thread Alejandro Vallejo
On Thu Sep 5, 2024 at 2:06 PM BST, Andrew Cooper wrote: > This removes a level of indirection, as well as removing a somewhat misleading > name; the variable is really "S3 video quirks". nit: Would it be beneficial to rename video_flags to s3_video_flags? > > More importantly however it makes it

Re: [PATCH 1/3] x86/acpi: Drop acpi_video_flags and use bootsym(video_flags) directly

2024-09-05 Thread Jan Beulich
On 05.09.2024 15:06, Andrew Cooper wrote: > This removes a level of indirection, as well as removing a somewhat misleading > name; the variable is really "S3 video quirks". > > More importantly however it makes it very clear that, right now, parsing the > cmdline and quirks depends on having alrea

Re: [PATCH 0/3] x86/trampoline: Header cleanup

2024-09-05 Thread Frediano Ziglio
On Thu, Sep 5, 2024 at 2:07 PM Andrew Cooper wrote: > This started while inspecting a preprossed file for bitops, but it turns > out > is relevant for Frediano's 32bit boot code changes too. > > Its header file juggling, and documentation with observations relevant to > both > the ASI and Host UE

Re: [PATCH v5 1/7] x86emul: support LKGS

2024-09-05 Thread Jan Beulich
On 04.09.2024 16:24, Andrew Cooper wrote: > On 04/09/2024 1:28 pm, Jan Beulich wrote: >> --- >> Instead of ->read_segment() we could of course also use ->read_msr() to >> fetch the original GS base. I don't think I can see a clear advantage of >> either approach; the way it's done it matches how we

Re: [PATCH] x86emul/test: fix build with gas 2.43

2024-09-05 Thread Andrew Cooper
On 05/09/2024 2:17 pm, Jan Beulich wrote: > Drop explicit {evex} pseudo-prefixes. New gas (validly) complains when > they're used on other than instructions. "other than" like this is awkward grammar.  "things other than instructions" would be better. > Our use was potentially ahead > of macro i

[PATCH] x86emul/test: fix build with gas 2.43

2024-09-05 Thread Jan Beulich
Drop explicit {evex} pseudo-prefixes. New gas (validly) complains when they're used on other than instructions. Our use was potentially ahead of macro invocations - see simd.h's "override" macro. Signed-off-by: Jan Beulich --- a/tools/tests/x86_emulator/simd.c +++ b/tools/tests/x86_emulator/simd

[PATCH 0/3] x86/trampoline: Header cleanup

2024-09-05 Thread Andrew Cooper
This started while inspecting a preprossed file for bitops, but it turns out is relevant for Frediano's 32bit boot code changes too. Its header file juggling, and documentation with observations relevant to both the ASI and Host UEFI Secureboot work, hence the extended CC list. Andrew Cooper (3):

[PATCH 2/3] x86/trampoline: Move the trampoline declarations out of

2024-09-05 Thread Andrew Cooper
asm/config.h is included in every translation unit (via xen/config.h), while only a handful of functions actually interact with the trampoline. Move the infrastructure into its own header, and take the opportunity to document everything. Also change trampoline_realmode_entry() and wakeup_start()

[PATCH 3/3] x86/trampoline: Collect other scattered trampoline symbols

2024-09-05 Thread Andrew Cooper
... and document them too. No functional change. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Frediano Ziglio CC: Alejandro Vallejo video.h, edd.h and e820.h also contain trampoline symbols, but they're pretty well contained headers already. kbd_shift_flags seem

[PATCH 1/3] x86/acpi: Drop acpi_video_flags and use bootsym(video_flags) directly

2024-09-05 Thread Andrew Cooper
This removes a level of indirection, as well as removing a somewhat misleading name; the variable is really "S3 video quirks". More importantly however it makes it very clear that, right now, parsing the cmdline and quirks depends on having already placed the trampoline; a dependency which is goin

Re: [PATCH v4] x86/xstate: enable AMX components

2024-09-05 Thread Jan Beulich
On 05.09.2024 14:21, Andrew Cooper wrote: > On 05/09/2024 12:36 pm, Jan Beulich wrote: >> These being controlled by XCR0, enabling support is relatively >> straightforward. Note however that there won't be any use of them until >> their dependent ISA extension CPUID flags are exposed, not the least

Re: [PATCH v4] x86/xstate: enable AMX components

2024-09-05 Thread Andrew Cooper
On 05/09/2024 12:36 pm, Jan Beulich wrote: > These being controlled by XCR0, enabling support is relatively > straightforward. Note however that there won't be any use of them until > their dependent ISA extension CPUID flags are exposed, not the least due > to recalculate_xstate() handling the dep

Re: [PATCH v5 4/7] x86: introduce x86_seg_sys

2024-09-05 Thread Jan Beulich
On 04.09.2024 18:54, Andrew Cooper wrote: > On 04/09/2024 1:29 pm, Jan Beulich wrote: >> To represent the USER-MSR bitmap access, a new segment type needs >> introducing, behaving like x86_seg_none in terms of address treatment, >> but behaving like a system segment for page walk purposes (implicit

Re: [RFC] x86/HVM: stdvga caching mode

2024-09-05 Thread Jan Beulich
On 05.09.2024 12:41, Andrew Cooper wrote: > On 05/09/2024 11:33 am, Jan Beulich wrote: >> Hello, >> >> I happened to spot a ~14y old revert of the crucial hunk of the ~16y old >> 551ceee97513 ("x86, hvm: stdvga cache always on") in our patch set, >> supposedly to deal with text mode corruption when

[PATCH v4] x86/xstate: enable AMX components

2024-09-05 Thread Jan Beulich
These being controlled by XCR0, enabling support is relatively straightforward. Note however that there won't be any use of them until their dependent ISA extension CPUID flags are exposed, not the least due to recalculate_xstate() handling the dependencies in kind of a reverse manner. Signed-off-

Re: [RFC] x86/HVM: stdvga caching mode

2024-09-05 Thread Paul Durrant
On 05/09/2024 11:41, Andrew Cooper wrote: STDVGA caching is primarily (exclusively?) an optimisation for Windows XP. I think it was originally for Win2K (white splash screen). Paul

Re: [RFC] x86/HVM: stdvga caching mode

2024-09-05 Thread Andrew Cooper
On 05/09/2024 11:33 am, Jan Beulich wrote: > Hello, > > I happened to spot a ~14y old revert of the crucial hunk of the ~16y old > 551ceee97513 ("x86, hvm: stdvga cache always on") in our patch set, > supposedly to deal with text mode corruption when Linux is booted without > any "vga=" option, and

[RFC] x86/HVM: stdvga caching mode

2024-09-05 Thread Jan Beulich
Hello, I happened to spot a ~14y old revert of the crucial hunk of the ~16y old 551ceee97513 ("x86, hvm: stdvga cache always on") in our patch set, supposedly to deal with text mode corruption when Linux is booted without any "vga=" option, and when - after the GUI is up - the console is switched

[ovmf test] 187503: all pass - PUSHED

2024-09-05 Thread osstest service owner
flight 187503 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/187503/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 3151798123e1419e74ebef1df73e9d651f1fcd3e baseline version: ovmf 03bc4252fb68f0dcba72a

[linux-linus test] 187497: regressions - FAIL

2024-09-05 Thread osstest service owner
flight 187497 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/187497/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-dmrestrict-amd64-dmrestrict 12 debian-hvm-install fail REGR. vs. 187480

Re: [PATCH v3 1/5] xen/bitops: Reinstate the please tidy message

2024-09-05 Thread Jan Beulich
On 05.09.2024 00:55, Andrew Cooper wrote: > Recent additions have undone prior tidying at the top of the file. > > Signed-off-by: Andrew Cooper Looks like despite not getting any ack (nor comments) for this in earlier rounds, you still want to keep it and you don't want to re-base subsequent cha

Re: [PATCH v3 5/5] x86/bitops: Use the POPCNT instruction when available

2024-09-05 Thread Jan Beulich
On 05.09.2024 00:55, Andrew Cooper wrote: > It has existed in x86 CPUs since 2008, so we're only 16 years late adding > support. With all the other scafolding in place, implement arch_hweightl() > for x86. > > The only complication is that the call to arch_generic_hweightl() is behind > the compi

Re: [XEN PATCH v14 2/5] x86/pvh: Allow (un)map_pirq when dom0 is PVH

2024-09-05 Thread Jan Beulich
On 05.09.2024 08:45, Chen, Jiqian wrote: > HI, > > On 2024/9/4 14:04, Jan Beulich wrote: >> On 04.09.2024 03:43, Stefano Stabellini wrote: >>> On Tue, 3 Sep 2024, Jan Beulich wrote: On 03.09.2024 12:53, Chen, Jiqian wrote: > On 2024/9/3 17:25, Jan Beulich wrote: >> On 03.09.2024 09:58

[ovmf test] 187502: all pass - PUSHED

2024-09-05 Thread osstest service owner
flight 187502 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/187502/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 03bc4252fb68f0dcba72a19e1b2a861a5d6c927e baseline version: ovmf 7b9f2018d1f2a850eca2c