[linux-linus test] 172675: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172675 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/172675/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172133 build-amd64-libvirt

How to isolate vital part of a host with the Xen Hypervisor?

2022-08-20 Thread Jason Long
Hello, Is it possible to install the Xen Hypervisor for just isolate my host OS and disable its Virtualization features (Install guest OS)? Thank you.

[ovmf test] 172678: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172678 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/172678/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172136 build-amd64-libvirt

[linux-5.4 test] 172672: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172672 linux-5.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/172672/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172128 build-amd64-libvirt

[ovmf test] 172676: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172676 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/172676/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172136 build-amd64-libvirt

[qemu-mainline test] 172670: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172670 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/172670/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-buildfail REGR. vs. 172123 build-i386-libvir

[ovmf test] 172673: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172673 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/172673/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172136 build-amd64-libvirt

[linux-linus test] 172666: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172666 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/172666/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172133 build-amd64-libvirt

Re: [PATCH v2 3/3] add SPDX to arch/arm/*.c

2022-08-20 Thread Julien Grall
Hi Stefano, On 19/08/2022 23:53, Stefano Stabellini wrote: On Fri, 19 Aug 2022, Julien Grall wrote: On 18/08/2022 23:03, Stefano Stabellini wrote: Add SPDX license information to all the *.c files under arch/arm. There are some of the files below that didn't have copyright. It would be worth

[ovmf test] 172671: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172671 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/172671/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172136 build-amd64-libvirt

Re: [PATCH v2 2/3] Add licenses under LICENSES

2022-08-20 Thread Julien Grall
Hi Stefano, On 19/08/2022 23:27, Stefano Stabellini wrote: On Fri, 19 Aug 2022, Julien Grall wrote: Hi Stefano, On 18/08/2022 23:03, Stefano Stabellini wrote: Add the individual licenses under a new top-level directory named "LICENSES". Each license file includes its related SPDX tags. We a

Re: [PATCH v2 1/3] Add SPDX to CODING_STYLE

2022-08-20 Thread Julien Grall
Hi Stefano, On 19/08/2022 23:24, Stefano Stabellini wrote: On Fri, 19 Aug 2022, Julien Grall wrote: Hi Stefano, On 18/08/2022 23:03, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini --- CODING_STYLE | 10 ++ 1 file changed, 10 insertions(+) diff --git a/CODING_STYLE

[linux-5.4 test] 172660: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172660 linux-5.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/172660/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172128 build-amd64-libvirt

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

2022-08-20 Thread osstest service owner
flight 172657 xen-unstable real [real] flight 172669 xen-unstable real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/172657/ http://logs.test-lab.xenproject.org/osstest/logs/172669/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd6

[POSSIBLE BUG] Dereferencing of NULL pointer

2022-08-20 Thread Rustam Subkhankulov
Version: 6.0-rc1 Description: In function 'privcmd_ioctl_dm_op' (drivers/xen/privcmd.c: 615)return value of 'kcalloc' with GFP_KERNEL flag is assigned to "pages" variable. GFP_KERNEL flag does not guarantee, that the return value will not be NULL. In that case, there is a jump to the "out" label

[ovmf test] 172668: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172668 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/172668/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172136 build-amd64-libvirt

[qemu-mainline test] 172658: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172658 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/172658/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-buildfail REGR. vs. 172123 build-i386-libvir

[ovmf test] 172664: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172664 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/172664/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172136 build-amd64-libvirt

[libvirt test] 172661: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172661 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/172661/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-libvirt 6 libvirt-buildfail REGR. vs. 151777 build-armhf-libvirt

[linux-linus test] 172654: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172654 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/172654/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172133 build-amd64-libvirt

Re: [PATCH v2 01/10] x86/mtrr: fix MTRR fixup on APs

2022-08-20 Thread Greg KH
On Sat, Aug 20, 2022 at 11:25:24AM +0200, Juergen Gross wrote: > When booting or resuming the system MTRR state is saved on the boot > processor and then this state is loaded into MTRRs of all other cpus. > During update of the MTRRs the MTRR mechanism needs to be disabled by > writing the related

[ovmf test] 172662: regressions - FAIL

2022-08-20 Thread osstest service owner
flight 172662 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/172662/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-libvirt6 libvirt-buildfail REGR. vs. 172136 build-amd64-libvirt

[PATCH v2 09/10] x86/mtrr: add a stop_machine() handler calling only cache_cpu_init()

2022-08-20 Thread Juergen Gross
Instead of having a stop_machine() handler for either a specific MTRR register or all state at once, add a handler just for calling cache_cpu_init() if appropriate. Add functions for calling stop_machine() with this handler as well. Add a generic replacements for mtrr_bp_restore() and a wrapper f

[PATCH v2 04/10] x86: move some code out of arch/x86/kernel/cpu/mtrr

2022-08-20 Thread Juergen Gross
Prepare making PAT and MTRR support independent from each other by moving some code needed by both out of the MTRR specific sources. Signed-off-by: Juergen Gross --- V2: - move code from cpu/common.c to cpu/cacheinfo.c (Boris Petkov) --- arch/x86/include/asm/cacheinfo.h | 3 ++ arch/x86/inclu

[PATCH v2 08/10] x86/mtrr: let cache_aps_delayed_init replace mtrr_aps_delayed_init

2022-08-20 Thread Juergen Gross
In order to prepare decoupling MTRR and PAT replace the MTRR specific mtrr_aps_delayed_init flag with a more generic cache_aps_delayed_init one. Signed-off-by: Juergen Gross --- V2: - new patch --- arch/x86/include/asm/cacheinfo.h | 2 ++ arch/x86/include/asm/mtrr.h | 2 -- arch/x86/kerne

[PATCH v2 06/10] x86/mtrr: remove set_all callback from struct mtrr_ops

2022-08-20 Thread Juergen Gross
Instead of using an indirect call to mtrr_if->set_all just call the only possible target cache_cpu_init() directly. This enables to remove the set_all callback from struct mtrr_ops. Signed-off-by: Juergen Gross --- arch/x86/kernel/cpu/mtrr/generic.c | 1 - arch/x86/kernel/cpu/mtrr/mtrr.c| 1

[PATCH v2 10/10] x86: decouple pat and mtrr handling

2022-08-20 Thread Juergen Gross
Today PAT is usable only with MTRR being active, with some nasty tweaks to make PAT usable when running as Xen PV guest, which doesn't support MTRR. The reason for this coupling is, that both, PAT MSR changes and MTRR changes, require a similar sequence and so full PAT support was added using the

[PATCH v2 02/10] x86/mtrr: remove unused cyrix_set_all() function

2022-08-20 Thread Juergen Gross
The Cyrix cpu specific MTRR function cyrix_set_all() will never be called, as the struct mtrr_ops set_all() callback will only be called in the use_intel() case, which would require the use_intel_if member of struct mtrr_ops to be set, which isn't the case for Cyrix. Signed-off-by: Juergen Gross

[PATCH v2 03/10] x86/mtrr: replace use_intel() with a local flag

2022-08-20 Thread Juergen Gross
In MTRR code use_intel() is only used in one source file, and the relevant use_intel_if member of struct mtrr_ops is set only in generic_mtrr_ops. Replace use_intel() with a single flag in cacheinfo.c, which can be set when assigning generic_mtrr_ops to mtrr_if. This allows to drop use_intel_if fr

[PATCH v2 07/10] x86/mtrr: simplify mtrr_bp_init()

2022-08-20 Thread Juergen Gross
In case of the generic cache interface being used (Intel cpus or a 64-bit system), the initialization sequence of the boot cpu is more complicated as necessary: - check if MTRR enabled, if yes, call mtrr_bp_pat_init() which will disable caching, set the PAT MSR, and reenable caching - call mtrr

[PATCH v2 05/10] x86/mtrr: split generic_set_all()

2022-08-20 Thread Juergen Gross
Split generic_set_all() into multiple parts, while moving the main function body into cacheinfo.c. This prepares the support of PAT without needing MTRR support by moving the main function body of generic_set_all() into cacheinfo.c while renaming it to cache_cpu_init(). The MTRR specific parts are

[PATCH v2 00/10] x86: make pat and mtrr independent from each other

2022-08-20 Thread Juergen Gross
Today PAT can't be used without MTRR being available, unless MTRR is at least configured via CONFIG_MTRR and the system is running as Xen PV guest. In this case PAT is automatically available via the hypervisor, but the PAT MSR can't be modified by the kernel and MTRR is disabled. The same applies

[PATCH v2 01/10] x86/mtrr: fix MTRR fixup on APs

2022-08-20 Thread Juergen Gross
When booting or resuming the system MTRR state is saved on the boot processor and then this state is loaded into MTRRs of all other cpus. During update of the MTRRs the MTRR mechanism needs to be disabled by writing the related MSR. The old contents of this MSR are saved in a set of static variable

[PATCH RFC v2 1/1] wiotlb: split buffer into 32-bit default and 64-bit extra zones

2022-08-20 Thread Dongli Zhang
Hello, I used to send out RFC v1 to introduce an extra io_tlb_mem (created with SWIOTLB_ANY) in addition to the default io_tlb_mem (32-bit). The dev->dma_io_tlb_mem is set to either default or the extra io_tlb_mem, depending on dma mask. However, that is not good for setting dev->dma_io_tlb_mem a