Re: [PATCH v2 1/3] x86/vmx: implement Bus Lock detection

2022-06-06 Thread Jan Beulich
On 06.06.2022 15:27, Andrew Cooper wrote: > On 26/05/2022 12:11, Roger Pau Monne wrote: >> diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c >> index f08a00dcbb..476ab72463 100644 >> --- a/xen/arch/x86/hvm/vmx/vmx.c >> +++ b/xen/arch/x86/hvm/vmx/vmx.c >> @@ -4065,6 +4065,16 @@ vo

Re: [XEN PATCH 1/4] build: xen/include: use if_changed

2022-06-06 Thread Jan Beulich
On 06.06.2022 15:39, Anthony PERARD wrote: > On Thu, Jun 02, 2022 at 11:11:15AM +0200, Jan Beulich wrote: >> On 01.06.2022 18:59, Anthony PERARD wrote: >>> Use "define" for the headers*_chk commands as otherwise the "#" >>> is interpreted as a comment and make can't find the end of >>> $(foreach,).

Re: MOVING COMMUNITY CALL Call for agenda items for 9 June Community Call @ 1500 UTC

2022-06-06 Thread Jan Beulich
On 07.06.2022 04:17, Stefano Stabellini wrote: > # Rule 9.4 "An element of an object shall not be initialized more than once" > > Andrew was noting that "There's one pattern using range syntax to set a > default where this rule would be violated, but the code is far cleaner > to read." I'm actual

[linux-5.4 test] 170846: regressions - FAIL

2022-06-06 Thread osstest service owner
flight 170846 linux-5.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/170846/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-examine-uefi 6 xen-install fail REGR. vs. 170736 test-armhf-armhf-xl-c

[PATCH Resend] xen/netback: do some code cleanup

2022-06-06 Thread Juergen Gross
Remove some unused macros and functions, make local functions static. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- drivers/net/xen-netback/common.h| 12 drivers/net/xen-netback/interface.c | 16 +--- drivers/net/xen-netback/netback.c | 4 +++- drivers/net/

Re: [PATCH v6 0/9] xen: drop hypercall function tables

2022-06-06 Thread Juergen Gross
On 18.05.22 11:45, Juergen Gross wrote: On 04.05.22 09:53, Juergen Gross wrote: On 19.04.22 10:01, Juergen Gross wrote: On 24.03.22 15:01, Juergen Gross wrote: In order to avoid indirect function calls on the hypercall path as much as possible this series is removing the hypercall function tab

Re: [PATCH v6 1/9] xen: move do_vcpu_op() to arch specific code

2022-06-06 Thread Juergen Gross
On 24.03.22 15:01, Juergen Gross wrote: The entry point used for the vcpu_op hypercall on Arm is different from the one on x86 today, as some of the common sub-ops are not supported on Arm. The Arm specific handler filters out the not supported sub-ops and then calls the common handler. This lead

memory overcomittment with sr-iov device assighment

2022-06-06 Thread alex . nlnnfn
Hello list, I looked into Xen documentation and also Xen wiki and I could't find a definitive answer if Xen supports memory over-commitment when VMs use SR-IOV device assignment (passthrough). Memory over-commitment I mean giving VMs more RAM than is available in the host. I know that ESX does

[qemu-mainline test] 170849: tolerable FAIL - PUSHED

2022-06-06 Thread osstest service owner
flight 170849 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/170849/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-vhd 21 guest-start/debian.repeatfail like 170824 test-armhf-armhf-xl-rtds 14 gue

[ovmf test] 170855: all pass - PUSHED

2022-06-06 Thread osstest service owner
flight 170855 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170855/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 4f89e4b3e80329b9a44559c658d2ebce8475 baseline version: ovmf 0b36dea3f8b71c4fd

Re: MOVING COMMUNITY CALL Call for agenda items for 9 June Community Call @ 1500 UTC

2022-06-06 Thread Stefano Stabellini
On Thu, 2 Jun 2022, Jan Beulich wrote: > On 01.06.2022 22:27, Stefano Stabellini wrote: > > Reducing CC and adding fusa-sig > > > > Actually Jun 9 at 8AM California / 4PM UK doesn't work for some of you, > > so it is either: > > 1) Jun 9 at 7AM California / 3PM UK > > 2) Jun 14 at 8AM California /

Re: [PATCH v2 0/2] introduce docs/misra/rules.rst

2022-06-06 Thread Stefano Stabellini
On Tue, 31 May 2022, Stefano Stabellini wrote: > Hi all, > > This patch series is a follow-up from the MISRA C meeting last Thursday, > when we went through the list of MISRA C rules on the spreadsheet and > agreed to accept into the Xen coding style the first ones, starting from > Dir 2.1 up unti

Re: [PATCH v2 3/4] arm: add ISAR2, MMFR0 and MMFR1 fields in cpufeature

2022-06-06 Thread Stefano Stabellini
On Mon, 6 Jun 2022, Bertrand Marquis wrote: > Hi Stefano, > > > On 3 Jun 2022, at 02:45, Stefano Stabellini wrote: > > > > On Tue, 31 May 2022, Bertrand Marquis wrote: > >> Complete AA64ISAR2 and AA64MMFR[0-1] with more fields. > >> While there add a comment for MMFR bitfields as for other regis

Re: [PATCH] xen: unexport __init-annotated xen_xlate_map_ballooned_pages()

2022-06-06 Thread Stefano Stabellini
On Mon, 6 Jun 2022, Oleksandr wrote: > On 06.06.22 07:59, Masahiro Yamada wrote: > > Hello > > > EXPORT_SYMBOL and __init is a bad combination because the .init.text > > section is freed up after the initialization. Hence, modules cannot > > use symbols annotated __init. The access to a freed sym

[xen-unstable-smoke test] 170850: tolerable all pass - PUSHED

2022-06-06 Thread osstest service owner
flight 170850 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/170850/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 15 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm 1

[linux-linus test] 170844: regressions - FAIL

2022-06-06 Thread osstest service owner
flight 170844 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/170844/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 8 xen-boot fail REGR. vs. 170714 test-amd64-amd64-xl

Re: [XEN PATCH] tools/libs/light/libxl_pci.c: explicitly grant access to Intel IGD opregion

2022-06-06 Thread Chuck Zmudzinski
On 6/3/22 9:10 PM, Chuck Zmudzinski wrote: On 3/30/22 1:15 PM, Anthony PERARD wrote: Hi Chuck, On Sun, Mar 13, 2022 at 11:41:37PM -0400, Chuck Zmudzinski wrote: When gfx_passthru is enabled for the Intel IGD, hvmloader maps the IGD opregion to the guest but libxl does not grant the guest permi

Re: [RFC PATCH 01/12] drivers/char: Add support for Xue USB3 debugger

2022-06-06 Thread Marek Marczykowski-Górecki
On Mon, Jun 06, 2022 at 12:57:26PM -0400, Tamas K Lengyel wrote: > On Mon, Jun 6, 2022 at 10:10 AM Tamas K Lengyel > wrote: > > > > On Mon, Jun 6, 2022 at 10:03 AM Marek Marczykowski-Górecki > > wrote: > > > > > > On Mon, Jun 06, 2022 at 09:32:52AM -0400, Tamas K Lengyel wrote: > > > > > +/* Supp

Re: [RFC PATCH 01/12] drivers/char: Add support for Xue USB3 debugger

2022-06-06 Thread Tamas K Lengyel
On Mon, Jun 6, 2022 at 10:10 AM Tamas K Lengyel wrote: > > On Mon, Jun 6, 2022 at 10:03 AM Marek Marczykowski-Górecki > wrote: > > > > On Mon, Jun 06, 2022 at 09:32:52AM -0400, Tamas K Lengyel wrote: > > > > +/* Supported xHC PCI configurations */ > > > > +#define XUE_XHC_CLASSC 0xC0330ULL > > >

Re: [PATCH] xen: unexport __init-annotated xen_xlate_map_ballooned_pages()

2022-06-06 Thread Oleksandr
On 06.06.22 07:59, Masahiro Yamada wrote: Hello EXPORT_SYMBOL and __init is a bad combination because the .init.text section is freed up after the initialization. Hence, modules cannot use symbols annotated __init. The access to a freed symbol may end up with kernel panic. modpost used to de

[linux-5.4 test] 170843: regressions - FAIL

2022-06-06 Thread osstest service owner
flight 170843 linux-5.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/170843/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 170736 test-armhf-armhf-xl-c

Re: [RFC PATCH 01/12] drivers/char: Add support for Xue USB3 debugger

2022-06-06 Thread Tamas K Lengyel
On Mon, Jun 6, 2022 at 10:03 AM Marek Marczykowski-Górecki wrote: > > On Mon, Jun 06, 2022 at 09:32:52AM -0400, Tamas K Lengyel wrote: > > > +/* Supported xHC PCI configurations */ > > > +#define XUE_XHC_CLASSC 0xC0330ULL > > > +#define XUE_XHC_VEN_INTEL 0x8086ULL > > > +#define XUE_XHC_DEV_Z370 0

Re: [RFC PATCH 01/12] drivers/char: Add support for Xue USB3 debugger

2022-06-06 Thread Marek Marczykowski-Górecki
On Mon, Jun 06, 2022 at 09:32:52AM -0400, Tamas K Lengyel wrote: > > +/* Supported xHC PCI configurations */ > > +#define XUE_XHC_CLASSC 0xC0330ULL > > +#define XUE_XHC_VEN_INTEL 0x8086ULL > > +#define XUE_XHC_DEV_Z370 0xA2AFULL > > +#define XUE_XHC_DEV_Z390 0xA36DULL > > +#define XUE_XHC_DEV_WILDC

[xen-tip:linux-next 6/10] drivers/xen/grant-dma-ops.c:278:6: warning: no previous prototype for 'xen_grant_setup_dma_ops'

2022-06-06 Thread kernel test robot
mappings config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220606/[email protected]/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git/commit/?id

Re: [RFC PATCH 00/12] Add Xue - console over USB 3 Debug Capability

2022-06-06 Thread Marek Marczykowski-Górecki
On Mon, Jun 06, 2022 at 01:18:45PM +, Andrew Cooper wrote: > On 06/06/2022 04:40, Marek Marczykowski-Górecki wrote: > > This is integration of https://github.com/connojd/xue into mainline Xen. > > This patch series includes several patches that I made in the process, some > > are > > very loos

Re: [XEN PATCH 3/4] build: replace get-fields.sh by a perl script

2022-06-06 Thread Anthony PERARD
On Wed, Jun 01, 2022 at 10:32:10AM -0700, Elliott Mitchell wrote: > On Wed, Jun 01, 2022 at 05:59:08PM +0100, Anthony PERARD wrote: > > diff --git a/xen/tools/compat-xlat-header b/xen/tools/compat-xlat-header > > new file mode 100755 > > index 00..f1f42a9dde > > --- /dev/null > > +++ b/xen/

Re: [XEN PATCH 2/4] build: set PERL

2022-06-06 Thread Anthony PERARD
On Thu, Jun 02, 2022 at 11:01:30AM +0200, Jan Beulich wrote: > On 01.06.2022 18:59, Anthony PERARD wrote: > > --- a/xen/Makefile > > +++ b/xen/Makefile > > @@ -22,6 +22,7 @@ PYTHON_INTERPRETER:= $(word 1,$(shell which > > python3 python python2 2>/dev/null) > > export PYTHON

Re: [XEN PATCH 1/4] build: xen/include: use if_changed

2022-06-06 Thread Anthony PERARD
On Thu, Jun 02, 2022 at 11:11:15AM +0200, Jan Beulich wrote: > On 01.06.2022 18:59, Anthony PERARD wrote: > > Use "define" for the headers*_chk commands as otherwise the "#" > > is interpreted as a comment and make can't find the end of > > $(foreach,). > > In cmd_xlat_lst you use $(pound) - any r

Re: [RFC PATCH 00/12] Add Xue - console over USB 3 Debug Capability

2022-06-06 Thread Marczykowski, Marek
On Mon, Jun 06, 2022 at 01:18:42PM +, Lengyel, Tamas wrote: > Happy to see this effort, it's been long overdue to get this feature > upstream! If you have a git branch somewhere I'm happy to test it out. I > already have tested Xue before on my NUC and it was working well. It's here: https:/

Re: [RFC PATCH 01/12] drivers/char: Add support for Xue USB3 debugger

2022-06-06 Thread Tamas K Lengyel
> +/* Supported xHC PCI configurations */ > +#define XUE_XHC_CLASSC 0xC0330ULL > +#define XUE_XHC_VEN_INTEL 0x8086ULL > +#define XUE_XHC_DEV_Z370 0xA2AFULL > +#define XUE_XHC_DEV_Z390 0xA36DULL > +#define XUE_XHC_DEV_WILDCAT_POINT 0x9CB1ULL > +#define XUE_XHC_DEV_SUNRISE_POINT 0x9D2FULL > +#define

Re: [PATCH v2 1/3] x86/vmx: implement Bus Lock detection

2022-06-06 Thread Andrew Cooper
On 26/05/2022 12:11, Roger Pau Monne wrote: > diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c > index f08a00dcbb..476ab72463 100644 > --- a/xen/arch/x86/hvm/vmx/vmx.c > +++ b/xen/arch/x86/hvm/vmx/vmx.c > @@ -4065,6 +4065,16 @@ void vmx_vmexit_handler(struct cpu_user_regs *regs)

Re: [XEN PATCH 0/4] xen: rework compat headers generation

2022-06-06 Thread Anthony PERARD
On Wed, Jun 01, 2022 at 05:17:36PM +, Andrew Cooper wrote: > On 01/06/2022 17:59, Anthony PERARD wrote: > > Patch series available in this git branch: > > https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git > > br.build-system-xen-include-rework-v1 > > > > Hi, > > > > This patch s

[linux-linus test] 170841: regressions - FAIL

2022-06-06 Thread osstest service owner
flight 170841 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/170841/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt 8 xen-boot fail REGR. vs. 170714 test-amd64-amd64-xl

RE: [RFC PATCH 00/12] Add Xue - console over USB 3 Debug Capability

2022-06-06 Thread Lengyel, Tamas
> -Original Message- > From: Xen-devel On Behalf Of Marek > Marczykowski-Górecki > Sent: Sunday, June 5, 2022 11:40 PM > To: [email protected] > Cc: Marczykowski, Marek ; Cooper, Andrew > ; George Dunlap ; > Beulich, Jan ; Julien Grall ; Stefano > Stabellini ; Wei Liu ; Pau Mo

[libvirt test] 170842: regressions - FAIL

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

Re: [PATCH v2 3/4] arm: add ISAR2, MMFR0 and MMFR1 fields in cpufeature

2022-06-06 Thread Bertrand Marquis
Hi Stefano, > On 3 Jun 2022, at 02:45, Stefano Stabellini wrote: > > On Tue, 31 May 2022, Bertrand Marquis wrote: >> Complete AA64ISAR2 and AA64MMFR[0-1] with more fields. >> While there add a comment for MMFR bitfields as for other registers in >> the cpuinfo structure definition. >> >> Signed

[xen-unstable test] 170840: FAIL

2022-06-06 Thread osstest service owner
flight 170840 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/170840/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-xtf-amd64-amd64-3 broken in 170833 Tests whi