[Xen-devel] [PATCH v2 3/5] ALSA: xen-front: Implement Xen event channel handling

2018-04-15 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Handle Xen event channels: - create for all configured streams and publish corresponding ring references and event channels in Xen store, so backend can connect - implement event channels interrupt handlers - create and destroy event channels with respe

[Xen-devel] [PATCH v2 1/5] ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver

2018-04-15 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Introduce skeleton of the para-virtualized Xen sound frontend driver. Initial handling for Xen bus states: implement Xen bus state machine for the frontend driver according to the state diagram and recovery flow from sound para-virtualized protocol: xen/interface/io

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-15 Thread Chao Gao
On Fri, Apr 13, 2018 at 09:49:17AM -0600, Jan Beulich wrote: On 30.03.18 at 08:59, wrote: >> @@ -281,24 +287,52 @@ static int microcode_update_cpu(const void *buf, >> size_t size) >> return err; >> } >> >> -static long do_microcode_update(void *_info) >> +static int __wait_for_cpus(a

[Xen-devel] [PATCH v2 2/5] ALSA: xen-front: Read sound driver configuration from Xen store

2018-04-15 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Read configuration values from Xen store according to xen/interface/io/sndif.h protocol: - introduce configuration structures for different components, e.g. sound card, device, stream - read PCM HW parameters, e.g rate, format etc. - detect stream type (cap

[Xen-devel] [PATCH v2 4/5] ALSA: xen-front: Implement handling of shared buffers

2018-04-15 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Implement shared buffer handling according to the para-virtualized sound device protocol at xen/interface/io/sndif.h: - manage buffer memory - handle granted references - handle page directories Signed-off-by: Oleksandr Andrushchenko --- sound/xen/Makefile

[Xen-devel] [PATCH v2 5/5] ALSA: xen-front: Implement ALSA virtual sound driver

2018-04-15 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Implement essential initialization of the sound driver: - introduce required data structures - handle driver registration - handle sound card registration - register sound driver on backend connection - remove sound driver on backend disconnect Initialize

[Xen-devel] [PATCH v2 0/5] ALSA: xen-front: Add Xen para-virtualized frontend driver

2018-04-15 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Please note: this patch series depends on [3]. This patch series adds support for Xen [1] para-virtualized sound frontend driver. It implements the protocol from include/xen/interface/io/sndif.h with the following limitations: - mute/unmute is not supported - get/se

Re: [Xen-devel] [PATCH] x86/xen: init %gs very early to avoid page faults with stack protector

2018-04-15 Thread Juergen Gross
On 14/04/18 07:55, Daniel Reichelt wrote: > Hi, > > the patch v2 solved the issue for me only on amd64, i386 guests keep crashing > with linux 4.15, 4.14 works fine. Upstream commit 36104cb9012a82e73c32a3b709257766b16bcd1d fixed that. It needs to be added to stable as well. Juergen ___

[Xen-devel] [xen-unstable baseline-only test] 74622: trouble: blocked/broken/fail/pass

2018-04-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74622 xen-unstable real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74622/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64

[Xen-devel] [xen-unstable test] 122315: trouble: broken/fail/pass

2018-04-15 Thread osstest service owner
flight 122315 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/122315/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-win7-amd64 broken Tests which a

[Xen-devel] [PATCH v3 11/41] hw/xen: Use the BYTE-based definitions

2018-04-15 Thread Philippe Mathieu-Daudé
It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alan Robinson --- hw/block/xen_disk.c| 5 +++-- hw/i386/xen/xen-mapcac

[Xen-devel] [PATCH v3 14/41] hw/display: Use the BYTE-based definitions

2018-04-15 Thread Philippe Mathieu-Daudé
It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Gerd Hoffmann --- include/hw/display/xlnx_dp.h | 5 +++-- hw/display/cirrus_vg

Re: [Xen-devel] [PATCH 0/3] x86: S3 resume adjustments

2018-04-15 Thread Simon Gaiser
Andrew Cooper: > On 15/04/18 16:52, Simon Gaiser wrote: >> Andrew Cooper: >>> On 14/04/18 06:49, Simon Gaiser wrote: Jan Beulich: > 1: correct ordering of operations during S3 resume > 2: suppress BTI mitigations around S3 suspend/resume > 3: check feature flags after resume >

[Xen-devel] [linux-linus test] 122301: regressions - FAIL

2018-04-15 Thread osstest service owner
flight 122301 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/122301/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-arm64-arm64-xl 7 xen-boot fail REGR. vs. 118324 test-armhf-armhf-xl

[Xen-devel] [ovmf baseline-only test] 74623: all pass

2018-04-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74623 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74623/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf b85b20fba42e25ff658ed1a470250d530c189027 baseline v

Re: [Xen-devel] [PATCH 0/3] x86: S3 resume adjustments

2018-04-15 Thread Andrew Cooper
On 15/04/18 16:52, Simon Gaiser wrote: > Andrew Cooper: >> On 14/04/18 06:49, Simon Gaiser wrote: >>> Jan Beulich: 1: correct ordering of operations during S3 resume 2: suppress BTI mitigations around S3 suspend/resume 3: check feature flags after resume Signed-off-by: Jan

[Xen-devel] [ovmf test] 122311: all pass - PUSHED

2018-04-15 Thread osstest service owner
flight 122311 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/122311/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf b85b20fba42e25ff658ed1a470250d530c189027 baseline version: ovmf e7df35b2bc53aecaca079

[Xen-devel] [xen-unstable test] 122294: tolerable FAIL - PUSHED

2018-04-15 Thread osstest service owner
flight 122294 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/122294/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-credit2 16 guest-start/debian.repeat fail in 122280 pass in 122294 test-amd64-i386-xl-raw

Re: [Xen-devel] [PATCH 0/3] x86: S3 resume adjustments

2018-04-15 Thread Simon Gaiser
Andrew Cooper: > On 14/04/18 06:49, Simon Gaiser wrote: >> Jan Beulich: >>> 1: correct ordering of operations during S3 resume >>> 2: suppress BTI mitigations around S3 suspend/resume >>> 3: check feature flags after resume >>> >>> Signed-off-by: Jan Beulich >>> >>> Simon, could you give this a tr

[Xen-devel] [ovmf baseline-only test] 74621: tolerable FAIL

2018-04-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74621 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74621/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-ovmf-amd64 21 leak-check/check fail baseline un

[Xen-devel] [libvirt test] 122300: tolerable all pass - PUSHED

2018-04-15 Thread osstest service owner
flight 122300 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/122300/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 14 saverestore-support-checkfail like 14 test-armhf-armhf-libvirt-xsm 14 saveresto

Re: [Xen-devel] [PATCH 0/3] x86: S3 resume adjustments

2018-04-15 Thread Andrew Cooper
On 14/04/18 06:49, Simon Gaiser wrote: > Jan Beulich: >> 1: correct ordering of operations during S3 resume >> 2: suppress BTI mitigations around S3 suspend/resume >> 3: check feature flags after resume >> >> Signed-off-by: Jan Beulich >> >> Simon, could you give this a try please? > Backported to

[Xen-devel] [PATCH] xen: Change return type to vm_fault_t

2018-04-15 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler in struct vm_operations_struct. Signed-off-by: Souptick Joarder Reviewed-by: Matthew Wilcox --- drivers/xen/privcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index 1c90918.

Re: [Xen-devel] [PATCH] x86/xen: Remove use of VLAs

2018-04-15 Thread David Brown
On Fri, Apr 13, 2018 at 03:11:46PM -0700, Laura Abbott wrote: There's an ongoing effort to remove VLAs[1] from the kernel to eventually turn on -Wvla. The few VLAs in use have an upper bound based on a size of 64K. This doesn't produce an excessively large stack so just switch the upper bound.

Re: [Xen-devel] [PATCH] x86/xen: init %gs very early to avoid page faults with stack protector

2018-04-15 Thread Daniel Reichelt
Hi, the patch v2 solved the issue for me only on amd64, i386 guests keep crashing with linux 4.15, 4.14 works fine. XEN host: - xen 4.8.3 - Debian stretch (tried with linux packages 4.14.0-0.bpo.3-amd64 and linux-image-4.15.0-0.bpo.2-amd64 - grub-pc package from buster (2.02+dfsg1-4) XEN guest

[Xen-devel] [xen-unstable-coverity test] 122308: all pass - PUSHED

2018-04-15 Thread osstest service owner
flight 122308 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/122308/ Perfect :-) All tests in this flight passed as required version targeted for testing: xen 16fb4b5a9a79f95df17f10ba62e9f44d21cf89b5 baseline version: xen 50f8

[Xen-devel] [linux-4.9 test] 122289: tolerable FAIL - PUSHED

2018-04-15 Thread osstest service owner
flight 122289 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/122289/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow 16 guest-localmigrate/x10 fail in 122272 pass in 122289 test-amd

[Xen-devel] [ovmf test] 122292: all pass - PUSHED

2018-04-15 Thread osstest service owner
flight 122292 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/122292/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf e7df35b2bc53aecaca0792398f5d0ad163e50abb baseline version: ovmf 2167c7f7a55b9964912d0

[Xen-devel] [linux-3.18 baseline-only test] 74619: trouble: blocked/broken/pass

2018-04-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74619 linux-3.18 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74619/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64