Re: [PATCH v3 1/2] ns16550: reject IRQ above nr_irqs_gsi

2022-05-11 Thread Roger Pau Monné
Subject line needs to be updated :). On Tue, May 10, 2022 at 05:58:23PM +0200, Marek Marczykowski-Górecki wrote: > Intel LPSS has INTERRUPT_LINE set to 0xff by default, that is declared > by the PCI Local Bus Specification Revision 3.0 (from 2004) as > "unknown"/"no connection". Fallback to poll m

Re: Proposal: use disk sequence numbers to avoid races in blkback

2022-05-11 Thread Roger Pau Monné
On Tue, May 10, 2022 at 12:22:51PM -0400, Demi Marie Obenour wrote: > On Tue, May 10, 2022 at 12:57:48PM +0200, Roger Pau Monné wrote: > > On Thu, May 05, 2022 at 08:30:17PM -0400, Demi Marie Obenour wrote: > > > Proposal: Check disk sequence numbers in blkback > > > ===

[ovmf test] 170318: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170318 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170318/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Bertrand Marquis
Hi Julien, > On 10 May 2022, at 17:35, Julien Grall wrote: > > Hi Rahul, > > On 10/05/2022 17:30, Rahul Singh wrote: >>> +rc = evtchn_alloc_unbound(&alloc); >>> +if ( rc ) >>> +{ >>> +printk("Failed allocating event channel for domain\n"); >>> +return rc; >>> +}

[libvirt test] 170317: regressions - FAIL

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

Re: [PATCH v3 1/2] ns16550: reject IRQ above nr_irqs_gsi

2022-05-11 Thread Roger Pau Monné
On Wed, May 11, 2022 at 09:20:46AM +0200, Roger Pau Monné wrote: > Subject line needs to be updated :). > > On Tue, May 10, 2022 at 05:58:23PM +0200, Marek Marczykowski-Górecki wrote: > > Intel LPSS has INTERRUPT_LINE set to 0xff by default, that is declared > > by the PCI Local Bus Specification

Re: [PATCH v3 4/6] xen: Switch to byteswap

2022-05-11 Thread Julien Grall
Hi, On 11/05/2022 04:12, Stefano Stabellini wrote: Alternatively, I also think that taking this patch as is without alignment fix (either using be16_to_cpu or be16_to_cpup) is fine. The alignment could be fixed afterwards. The key is that I think it should be one of the maintainers to write the

[ovmf test] 170319: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170319 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170319/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH v3 4/6] xen: Switch to byteswap

2022-05-11 Thread Julien Grall
Hi, Please configure your e-mail client to send in plain text. On 11/05/2022 07:30, Lin Liu (刘林) wrote: Subject: Re: [PATCH v3 4/6] xen: Switch to byteswap On 10/05/2022 11:15, Lin Liu wrote: Update to use byteswap to swap bytes. No functional change. Signed-off-by: Lin Liu --- Cc: Stefano

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Julien Grall
Hi Bertrand, On 11/05/2022 08:46, Bertrand Marquis wrote: On 10 May 2022, at 17:35, Julien Grall wrote: Hi Rahul, On 10/05/2022 17:30, Rahul Singh wrote: +rc = evtchn_alloc_unbound(&alloc); +if ( rc ) +{ +printk("Failed allocating event channel for domain\n"); +re

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Bertrand Marquis
> On 11 May 2022, at 09:38, Julien Grall wrote: > > Hi Bertrand, > > On 11/05/2022 08:46, Bertrand Marquis wrote: >>> On 10 May 2022, at 17:35, Julien Grall wrote: >>> >>> Hi Rahul, >>> >>> On 10/05/2022 17:30, Rahul Singh wrote: > +rc = evtchn_alloc_unbound(&alloc); > +if

[xen-unstable test] 170314: tolerable FAIL

2022-05-11 Thread osstest service owner
flight 170314 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/170314/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-xl-shadow 7 xen-installfail pass in 170307 Tests which did not succeed, but

[ovmf test] 170320: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170320 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170320/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Julien Grall
Hi Bertrand, On 11/05/2022 09:46, Bertrand Marquis wrote: On 11 May 2022, at 09:38, Julien Grall wrote: Hi Bertrand, On 11/05/2022 08:46, Bertrand Marquis wrote: On 10 May 2022, at 17:35, Julien Grall wrote: Hi Rahul, On 10/05/2022 17:30, Rahul Singh wrote: +rc = evtchn_alloc_unbo

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Bertrand Marquis
Hi Julien, > On 11 May 2022, at 10:10, Julien Grall wrote: > > Hi Bertrand, > > On 11/05/2022 09:46, Bertrand Marquis wrote: >>> On 11 May 2022, at 09:38, Julien Grall wrote: >>> >>> Hi Bertrand, >>> >>> On 11/05/2022 08:46, Bertrand Marquis wrote: > On 10 May 2022, at 17:35, Julien Gral

[ovmf test] 170321: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170321 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170321/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH v3 4/6] xen: Switch to byteswap

2022-05-11 Thread Andrew Cooper
On 10/05/2022 12:47, Julien Grall wrote: > Hi, > > On 10/05/2022 12:34, Andrew Cooper wrote: >> On 10/05/2022 12:17, Julien Grall wrote: > >> diff --git a/xen/include/xen/unaligned.h >> b/xen/include/xen/unaligned.h >> index 0a2b16d05d..16b2e6f5f0 100644 >> --- a/xen/includ

Re: [PATCH v8 01/27] notifier: Add atomic_notifier_call_chain_is_empty()

2022-05-11 Thread Dmitry Osipenko
On 5/10/22 21:14, Rafael J. Wysocki wrote: > On Tue, May 10, 2022 at 1:33 AM Dmitry Osipenko > wrote: >> Add atomic_notifier_call_chain_is_empty() that returns true if given >> atomic call chain is empty. > It would be good to mention a use case for it. > I'll update this patch for v9. -- Best

[ovmf test] 170322: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170322 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170322/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Rahul Singh
Hi Julien > On 11 May 2022, at 10:18 am, Bertrand Marquis > wrote: > > Hi Julien, > >> On 11 May 2022, at 10:10, Julien Grall wrote: >> >> Hi Bertrand, >> >> On 11/05/2022 09:46, Bertrand Marquis wrote: On 11 May 2022, at 09:38, Julien Grall wrote: Hi Bertrand, O

Re: [PATCH v3 4/6] xen: Switch to byteswap

2022-05-11 Thread Julien Grall
On 11/05/2022 10:56, Andrew Cooper wrote: On 10/05/2022 12:47, Julien Grall wrote: Hi, On 10/05/2022 12:34, Andrew Cooper wrote: On 10/05/2022 12:17, Julien Grall wrote: diff --git a/xen/include/xen/unaligned.h b/xen/include/xen/unaligned.h index 0a2b16d05d..16b2e6f5f0 100644 --- a/xen

Re: [PATCH v6 1/2] xsm: create idle domain privileged and demote after setup

2022-05-11 Thread Daniel P. Smith
On 5/3/22 09:17, Luca Fancellu wrote: > Hi Daniel, > >> diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c >> index 0bf63ffa84..b93101191e 100644 >> --- a/xen/xsm/flask/hooks.c >> +++ b/xen/xsm/flask/hooks.c >> @@ -186,6 +186,28 @@ static int cf_check flask_domain_alloc_security(struct >>

Re: [PATCH v6 1/2] xsm: create idle domain privileged and demote after setup

2022-05-11 Thread Daniel P. Smith
On 5/9/22 14:33, Julien Grall wrote: > > > On 03/05/2022 14:17, Luca Fancellu wrote: >>> diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c >>> index 0bf63ffa84..b93101191e 100644 >>> --- a/xen/xsm/flask/hooks.c >>> +++ b/xen/xsm/flask/hooks.c >>> @@ -186,6 +186,28 @@ static int cf_check

Re: [PATCH v6 1/2] xsm: create idle domain privileged and demote after setup

2022-05-11 Thread Daniel P. Smith
On 5/9/22 14:38, Julien Grall wrote: > Hi Daniel, > > On 03/05/2022 12:17, Daniel P. Smith wrote: >> There are new capabilities, dom0less and hyperlaunch, that introduce >> internal >> hypervisor logic which needs to make resource allocation calls that are >> protected by XSM access checks. This c

Re: [PATCH v4 18/21] VT-d: replace all-contiguous page tables by superpage mappings

2022-05-11 Thread Roger Pau Monné
On Mon, Apr 25, 2022 at 10:43:45AM +0200, Jan Beulich wrote: > When a page table ends up with all contiguous entries (including all > identical attributes), it can be replaced by a superpage entry at the > next higher level. The page table itself can then be scheduled for > freeing. > > The adjust

Re: [PATCH 04/30] firmware: google: Convert regular spinlock into trylock on panic path

2022-05-11 Thread Petr Mladek
On Tue 2022-05-10 21:46:38, John Ogness wrote: > On 2022-05-10, Steven Rostedt wrote: > >> As already mentioned in the other reply, panic() sometimes stops the > >> other CPUs using NMI, for example, see kdump_nmi_shootdown_cpus(). > >> > >> Another situation is when the CPU using the lock ends i

[ovmf test] 170323: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170323 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170323/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[PATCH v7 1/2] xsm: create idle domain privileged and demote after setup

2022-05-11 Thread Daniel P. Smith
There are new capabilities, dom0less and hyperlaunch, that introduce internal hypervisor logic which needs to make resource allocation calls that are protected by XSM access checks. This creates an issue as a subset of the hypervisor code is executed under a system domain, the idle domain, that is

[PATCH v7 0/2] Adds starting the idle domain privileged

2022-05-11 Thread Daniel P. Smith
This series makes it so that the idle domain is started privileged under the default policy, which the SILO policy inherits, and under the flask policy. It then introduces a new one-way XSM hook, xsm_transition_running, that is hooked by an XSM policy to transition the idle domain to its running pr

[PATCH v7 2/2] flask: implement xsm_set_system_active

2022-05-11 Thread Daniel P. Smith
This commit implements full support for starting the idle domain privileged by introducing a new flask label xenboot_t which the idle domain is labeled with at creation. It then provides the implementation for the XSM hook xsm_set_system_active to relabel the idle domain to the existing xen_t flas

Re: [PATCH 17/30] tracing: Improve panic/die notifiers

2022-05-11 Thread Petr Mladek
On Wed 2022-04-27 19:49:11, Guilherme G. Piccoli wrote: > Currently the tracing dump_on_oops feature is implemented > through separate notifiers, one for die/oops and the other > for panic. With the addition of panic notifier "id", this > patch makes use of such "id" to unify both functions. > > I

Re: [PATCH v3 4/6] xen: Switch to byteswap

2022-05-11 Thread George Dunlap
> On May 11, 2022, at 9:34 AM, Julien Grall wrote: > > Hi, > > Please configure your e-mail client to send in plain text. > > On 11/05/2022 07:30, Lin Liu (刘林) wrote: >> Subject: Re: [PATCH v3 4/6] xen: Switch to byteswap >> On 10/05/2022 11:15, Lin Liu wrote: >>> Update to use byteswap to sw

[ovmf test] 170324: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170324 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170324/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH v3 4/6] xen: Switch to byteswap

2022-05-11 Thread Julien Grall
Hi George, On 11/05/2022 13:11, George Dunlap wrote: Google told me __force is used in linux kernel to suppress warning in sparse, https://stackoverflow.com/questions/53120610/what-does-the-attribute-force-do Is sparse also used in xen? I am not aware of any use of Sparse in Xen, but it would

[PATCH 1/3] swiotlb: don't panic when the swiotlb buffer can't be allocated

2022-05-11 Thread Christoph Hellwig
For historical reasons the switlb code paniced when the metadata could not be allocated, but just printed a warning when the actual main swiotlb buffer could not be allocated. Restore this somewhat unexpected behavior as changing it caused a boot failure on the Microchip RISC-V PolarFire SoC Icicl

swiotlb regression fixe

2022-05-11 Thread Christoph Hellwig
Hi all, attached are a bunch of fixes for regressions in the recent swiotlb refactoring. The first one was reported by Conor, and the other two are things I found by code inspections while trying to fix what he reported.

[PATCH 3/3] swiotlb: use the right nslabs-derived sizes in swiotlb_init_late

2022-05-11 Thread Christoph Hellwig
nslabs can shrink when allocations or the remap don't succeed, so make sure to use it for all sizing. For that remove the bytes value that can get stale and replace it with local calculations and a boolean to indicate if the originally requested size could not be allocated. Fixes: 6424e31b1c05 ("

[PATCH 2/3] swiotlb: use the right nslabs value in swiotlb_init_remap

2022-05-11 Thread Christoph Hellwig
default_nslabs should only be used to initialize nslabs, after that we need to use the local variable that can shrink when allocations or the remap don't succeed. Fixes: 6424e31b1c05 ("swiotlb: remove swiotlb_init_with_tbl and swiotlb_init_late_with_tbl") Signed-off-by: Christoph Hellwig --- ke

[ovmf test] 170325: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170325 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170325/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Julien Grall
Hi Rahul, On 11/05/2022 11:53, Rahul Singh wrote: On 11 May 2022, at 10:18 am, Bertrand Marquis wrote: Hi Julien, On 11 May 2022, at 10:10, Julien Grall wrote: Hi Bertrand, On 11/05/2022 09:46, Bertrand Marquis wrote: On 11 May 2022, at 09:38, Julien Grall wrote: Hi Bertrand, On 11/05

[ovmf test] 170326: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170326 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170326/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH] x86/PAT: have pat_enabled() properly reflect state when running on e.g. Xen

2022-05-11 Thread Juergen Gross
On 03.05.22 14:54, Juergen Gross wrote: On 28.04.22 16:50, Jan Beulich wrote: The latest with commit bdd8b6c98239 ("drm/i915: replace X86_FEATURE_PAT with pat_enabled()") pat_enabled() returning false (because of PAT initialization being suppressed in the absence of MTRRs being announced to be a

Re: [PATCH v4 19/21] IOMMU/x86: add perf counters for page table splitting / coalescing

2022-05-11 Thread Roger Pau Monné
On Mon, Apr 25, 2022 at 10:44:11AM +0200, Jan Beulich wrote: > Signed-off-by: Jan Beulich > Reviewed-by: Kevin tian Reviewed-by: Roger Pau Monné Would be helpful to also have those per-guest I think. Thanks, Roger.

Re: [PATCH v4 20/21] VT-d: fold iommu_flush_iotlb{,_pages}()

2022-05-11 Thread Roger Pau Monné
On Mon, Apr 25, 2022 at 10:44:38AM +0200, Jan Beulich wrote: > With iommu_flush_iotlb_all() gone, iommu_flush_iotlb_pages() is merely a > wrapper around the not otherwise called iommu_flush_iotlb(). Fold both > functions. > > No functional change intended. > > Signed-off-by: Jan Beulich Reviewe

Re: [PATCH v4 21/21] VT-d: fold dma_pte_clear_one() into its only caller

2022-05-11 Thread Roger Pau Monné
On Mon, Apr 25, 2022 at 10:45:10AM +0200, Jan Beulich wrote: > This way intel_iommu_unmap_page() ends up quite a bit more similar to > intel_iommu_map_page(). > > No functional change intended. > > Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné Thanks, Roger.

[PATCH v4 1/2] ns16550: use poll mode if INTERRUPT_LINE is 0xff

2022-05-11 Thread Marek Marczykowski-Górecki
Intel LPSS has INTERRUPT_LINE set to 0xff by default, that is declared by the PCI Local Bus Specification Revision 3.0 (from 2004) as "unknown"/"no connection". Fallback to poll mode in this case. The 0xff handling is x86-specific, the surrounding code is guarded with CONFIG_X86 anyway. Signed-off

[PATCH v4 2/2] ns16550: Add more device IDs for Intel LPSS UART

2022-05-11 Thread Marek Marczykowski-Górecki
This is purely based on the spec: - Intel 500 Series PCH: 635218-006 - Intel 600 Series PCH: 691222-001, 648364-003 This is tested only on TGL-LP added initially, but according to the spec, they should behave the same. Signed-off-by: Marek Marczykowski-Górecki Acked-by: Andrew Cooper --- Change

Re: [PATCH] swiotlb-xen: fix DMA_ATTR_NO_KERNEL_MAPPING on arm

2022-05-11 Thread Christoph Hellwig
On Fri, Apr 29, 2022 at 04:15:38PM -0700, Stefano Stabellini wrote: > Great! Christoph you can go ahead and pick it up in your tree if you are > up for it. The patch is in the dma-mapping for-next brancch now: http://git.infradead.org/users/hch/dma-mapping.git/commitdiff/62cb1ca1654b57589c582efae

Re: [PATCH v4 1/2] ns16550: use poll mode if INTERRUPT_LINE is 0xff

2022-05-11 Thread Roger Pau Monné
On Wed, May 11, 2022 at 03:59:28PM +0200, Marek Marczykowski-Górecki wrote: > Intel LPSS has INTERRUPT_LINE set to 0xff by default, that is declared > by the PCI Local Bus Specification Revision 3.0 (from 2004) as > "unknown"/"no connection". Fallback to poll mode in this case. > The 0xff handling

Re: [PATCH v3 4/6] xen: Switch to byteswap

2022-05-11 Thread Bertrand Marquis
Hi, > On 11 May 2022, at 04:12, Stefano Stabellini wrote: > > On Tue, 10 May 2022, Julien Grall wrote: >>> It is not reasonable to say "this unrelated thing is broken, and you >>> need to fix it first to get your series in". Requests like that are, >>> I'm sure, part of what Bertrand raised in

Re: [PATCH v3 4/6] xen: Switch to byteswap

2022-05-11 Thread Bertrand Marquis
Hi George, > On 11 May 2022, at 13:11, George Dunlap wrote: > > > >> On May 11, 2022, at 9:34 AM, Julien Grall wrote: >> >> Hi, >> >> Please configure your e-mail client to send in plain text. >> >> On 11/05/2022 07:30, Lin Liu (刘林) wrote: >>> Subject: Re: [PATCH v3 4/6] xen: Switch to byt

[ovmf test] 170327: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170327 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170327/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[PATCH v5 2/2] ns16550: Add more device IDs for Intel LPSS UART

2022-05-11 Thread Marek Marczykowski-Górecki
This is purely based on the spec: - Intel 500 Series PCH: 635218-006 - Intel 600 Series PCH: 691222-001, 648364-003 This is tested only on TGL-LP added initially, but according to the spec, they should behave the same. Signed-off-by: Marek Marczykowski-Górecki Acked-by: Andrew Cooper --- Change

[PATCH v5 1/2] ns16550: use poll mode if INTERRUPT_LINE is 0xff

2022-05-11 Thread Marek Marczykowski-Górecki
Intel LPSS has INTERRUPT_LINE set to 0xff by default, that is declared by the PCI Local Bus Specification Revision 3.0 (from 2004) as "unknown"/"no connection". Fallback to poll mode in this case. The 0xff handling is x86-specific, the surrounding code is guarded with CONFIG_X86 anyway. Signed-off

Re: [PATCH v2] xen/evtchn: Add design for static event channel signaling

2022-05-11 Thread Rahul Singh
Hi Julien > On 10 May 2022, at 1:32 pm, Julien Grall wrote: > > Hi Rahul, > > On 04/05/2022 18:34, Rahul Singh wrote: >> This patch introduces a new feature to support the signaling between >> two domains in dom0less system. >> Signed-off-by: Rahul Singh >> --- >> v2 changes: >> - switch to th

Re: [PATCH v4 1/2] ns16550: use poll mode if INTERRUPT_LINE is 0xff

2022-05-11 Thread Andrew Cooper
On 11/05/2022 15:15, Roger Pau Monné wrote: > On Wed, May 11, 2022 at 03:59:28PM +0200, Marek Marczykowski-Górecki wrote: >> Intel LPSS has INTERRUPT_LINE set to 0xff by default, that is declared >> by the PCI Local Bus Specification Revision 3.0 (from 2004) as >> "unknown"/"no connection". Fallbac

Re: [PATCH v4 1/2] ns16550: use poll mode if INTERRUPT_LINE is 0xff

2022-05-11 Thread Roger Pau Monné
On Wed, May 11, 2022 at 02:35:05PM +, Andrew Cooper wrote: > On 11/05/2022 15:15, Roger Pau Monné wrote: > > On Wed, May 11, 2022 at 03:59:28PM +0200, Marek Marczykowski-Górecki wrote: > >> Intel LPSS has INTERRUPT_LINE set to 0xff by default, that is declared > >> by the PCI Local Bus Specific

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

2022-05-11 Thread Bertrand Marquis
> On 10 May 2022, at 03:03, Stefano Stabellini wrote: > > On Wed, 4 May 2022, Julien Grall wrote: >>> Do I understand right that it is ok for you if I push one patch mentioning >>> all the commits done in Linux corresponding to the changes (instead of one >>> patch per commit) ? >> >> For thi

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

2022-05-11 Thread Bertrand Marquis
Hi Stefano, > On 10 May 2022, at 03:04, Stefano Stabellini wrote: > > On Tue, 3 May 2022, Bertrand Marquis wrote: >> Sync arm64 sysreg bit shift definitions with status of Linux kernel as >> of 5.18-rc3 version (linux commit b2d229d4ddb1). >> Sync ID registers sanitization with the status of Lin

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Rahul Singh
Hi Julien, > On 11 May 2022, at 2:11 pm, Julien Grall wrote: > > Hi Rahul, > > On 11/05/2022 11:53, Rahul Singh wrote: >>> On 11 May 2022, at 10:18 am, Bertrand Marquis >>> wrote: >>> >>> Hi Julien, >>> On 11 May 2022, at 10:10, Julien Grall wrote: Hi Bertrand, O

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Rahul Singh
Hi Julien, > On 11 May 2022, at 3:57 pm, Rahul Singh wrote: > > Hi Julien, > >> On 11 May 2022, at 2:11 pm, Julien Grall wrote: >> >> Hi Rahul, >> >> On 11/05/2022 11:53, Rahul Singh wrote: On 11 May 2022, at 10:18 am, Bertrand Marquis wrote: Hi Julien, > On

[PATCH] x86/hvm: Widen condition for is_hvm_pv_evtchn_vcpu()

2022-05-11 Thread Jane Malalane
Have is_hvm_pv_evtchn_vcpu() return true for vector callbacks for evtchn delivery set up on a per-vCPU basis via HVMOP_set_evtchn_upcall_vector. is_hvm_pv_evtchn_vcpu() returning true is a condition for setting up physical IRQ to event channel mappings. Signed-off-by: Jane Malalane --- CC: Jan B

[ovmf test] 170328: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170328 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170328/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

2022-05-11 Thread Julien Grall
Hi, On 11/05/2022 15:41, Bertrand Marquis wrote: On 10 May 2022, at 03:03, Stefano Stabellini wrote: On Wed, 4 May 2022, Julien Grall wrote: Do I understand right that it is ok for you if I push one patch mentioning all the commits done in Linux corresponding to the changes (instead of one

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Julien Grall
On 11/05/2022 16:05, Rahul Singh wrote: The property "xen,enhanced" with an empty string (or with the value "enabled") is meant to indicate that PV drivers will be usable in the domain. AFAIU, you are suggesting to change the meaning based on dom0 whether has been created. I don't particula

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

2022-05-11 Thread Bertrand Marquis
Hi Julien, > On 11 May 2022, at 16:20, Julien Grall wrote: > > Hi, > > On 11/05/2022 15:41, Bertrand Marquis wrote: >>> On 10 May 2022, at 03:03, Stefano Stabellini wrote: >>> >>> On Wed, 4 May 2022, Julien Grall wrote: > Do I understand right that it is ok for you if I push one patch men

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

2022-05-11 Thread Julien Grall
Hi Bertrand, On 11/05/2022 16:40, Bertrand Marquis wrote: On 11 May 2022, at 16:20, Julien Grall wrote: Technically, speaking you only copied the code from Linux and therefore you are not the author of some of the changes. For such case, our general process is: Could you tell me where this

[ovmf test] 170329: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170329 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170329/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

2022-05-11 Thread Bertrand Marquis
Hi, > On 11 May 2022, at 16:47, Julien Grall wrote: > > Hi Bertrand, > > On 11/05/2022 16:40, Bertrand Marquis wrote: >>> On 11 May 2022, at 16:20, Julien Grall wrote: >>> Technically, speaking you only copied the code from Linux and therefore you >>> are not the author of some of the changes

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

2022-05-11 Thread Julien Grall
On 11/05/2022 17:01, Bertrand Marquis wrote: Hi, On 11 May 2022, at 16:47, Julien Grall wrote: Hi Bertrand, On 11/05/2022 16:40, Bertrand Marquis wrote: On 11 May 2022, at 16:20, Julien Grall wrote: Technically, speaking you only copied the code from Linux and therefore you are not the

[ovmf test] 170330: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170330 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170330/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH 22/30] panic: Introduce the panic post-reboot notifier list

2022-05-11 Thread Heiko Carstens
On Mon, May 09, 2022 at 11:16:10AM -0300, Guilherme G. Piccoli wrote: > On 27/04/2022 19:49, Guilherme G. Piccoli wrote: > > Currently we have 3 notifier lists in the panic path, which will > > be wired in a way to allow the notifier callbacks to run in > > different moments at panic time, in a sub

[ovmf test] 170331: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170331 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170331/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[ovmf test] 170332: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170332 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170332/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH V2 2/7] xen/grants: support allocating consecutive grants

2022-05-11 Thread Oleksandr
On 07.05.22 21:19, Oleksandr Tyshchenko wrote: Hello Boris, Stefano From: Juergen Gross For support of virtio via grant mappings in rare cases larger mappings using consecutive grants are needed. Support those by adding a bitmap of free grants. As consecutive grants will be needed only in

Re: Proposal: use disk sequence numbers to avoid races in blkback

2022-05-11 Thread Demi Marie Obenour
On Wed, May 11, 2022 at 09:37:54AM +0200, Roger Pau Monné wrote: > On Tue, May 10, 2022 at 12:22:51PM -0400, Demi Marie Obenour wrote: > > On Tue, May 10, 2022 at 12:57:48PM +0200, Roger Pau Monné wrote: > > > On Thu, May 05, 2022 at 08:30:17PM -0400, Demi Marie Obenour wrote: > > > > Proposal: Che

Re: [PATCH v6 2/7] xen/arm: implement domU extended regions

2022-05-11 Thread Julien Grall
On 05/05/2022 01:16, Stefano Stabellini wrote: From: Stefano Stabellini Implement extended regions for dom0less domUs. The implementation is based on the libxl implementation. Also update docs for the ext_regions command line option. Signed-off-by: Stefano Stabellini Reviewed-by: Luca Fan

[ovmf test] 170333: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170333 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170333/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[PATCH V6 2/2] xen/arm: Harden the P2M code in p2m_remove_mapping()

2022-05-11 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Borrow the x86's check from p2m_remove_page() which was added by the following commit: c65ea16dbcafbe4fe21693b18f8c2a3c5d14600e "x86/p2m: don't assert that the passed in MFN matches for a remove" and adjust it to the Arm code base. Basically, this check is strictly nee

[PATCH V6 1/2] xen/gnttab: Store frame GFN in struct page_info on Arm

2022-05-11 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Rework Arm implementation to store grant table frame GFN in struct page_info directly instead of keeping it in standalone status/shared arrays. This patch is based on the assumption that a grant table page is a xenheap page. To cover 64-bit/40-bit IPA on Arm64/Arm32 we

Re: [PATCH v6 4/7] xen/arm: configure dom0less domain for enabling xenstore after boot

2022-05-11 Thread Julien Grall
Hi Stefano, On 05/05/2022 01:16, Stefano Stabellini wrote: From: Luca Miccio Export evtchn_alloc_unbound and make it __must_check. If "xen,enhanced" is enabled, then add to dom0less domains: - the hypervisor node in device tree - the xenstore event channel The xenstore event channel is also

Re: [PATCH v6 5/7] xenstored: send an evtchn notification on introduce_domain

2022-05-11 Thread Julien Grall
Hi, On 05/05/2022 01:16, Stefano Stabellini wrote: From: Luca Miccio When xs_introduce_domain is called, send out a notification on the xenstore event channel so that any (dom0less) domain waiting for the xenstore interface to be ready can continue with the initialization. Before sending the n

Re: [PATCH v6 6/7] tools: add example application to initialize dom0less PV drivers

2022-05-11 Thread Julien Grall
Hi Stefano, On 05/05/2022 01:16, Stefano Stabellini wrote: From: Luca Miccio Add an example application that can be run in dom0 to complete the dom0less domains initialization so that they can get access to xenstore and use PV drivers. The application sets "connection" to XENSTORE_RECONNECT o

Re: [PATCH v6 7/7] docs: document dom0less + PV drivers

2022-05-11 Thread Julien Grall
Hi, On 05/05/2022 01:16, Stefano Stabellini wrote: From: Stefano Stabellini Document how to use the feature and how the implementation works. Signed-off-by: Stefano Stabellini Reviewed-by: Luca Fancellu AFAICT, this match the code in Xen. So: Acked-by: Julien Grall --- docs/features

xen-blkfront crash on xl block-detach of not fully attached device

2022-05-11 Thread Marek Marczykowski-Górecki
Hi, The reproducer is trivial: [user@dom0 ~]$ sudo xl block-attach work backend=sys-usb vdev=xvdi target=/dev/sdz [user@dom0 ~]$ xl block-list work Vdev BE handle state evt-ch ring-ref BE-path 51712 0 2414 -1 -1 /local/domain/0/backend/vbd/241/51712 5

Re: [PATCH 22/30] panic: Introduce the panic post-reboot notifier list

2022-05-11 Thread Guilherme G. Piccoli
On 11/05/2022 13:45, Heiko Carstens wrote: > [...] >> >> Hey S390/SPARC folks, sorry for the ping! >> >> Any reviews on this V1 would be greatly appreciated, I'm working on V2 >> and seeking feedback in the non-reviewed patches. > > Sorry, missed that this is quite s390 specific. So, yes, this loo

[ovmf test] 170335: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170335 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170335/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

Re: [PATCH 23/30] printk: kmsg_dump: Introduce helper to inform number of dumpers

2022-05-11 Thread Guilherme G. Piccoli
On 10/05/2022 14:40, Steven Rostedt wrote: > On Wed, 27 Apr 2022 19:49:17 -0300 > "Guilherme G. Piccoli" wrote: > >> Currently we don't have a way to check if there are dumpers set, >> except counting the list members maybe. This patch introduces a very >> simple helper to provide this informatio

Re: [PATCH 10/30] alpha: Clean-up the panic notifier code

2022-05-11 Thread Guilherme G. Piccoli
On 10/05/2022 11:16, Petr Mladek wrote: > [...] > Yeah, it is pretty strange behavior. > > I looked into the history. This notifier was added into the alpha code > in 2.4.0-test2pre2. In this historic code, the default panic() code > either rebooted after a timeout or ended in a infinite loop. The

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

2022-05-11 Thread Stefano Stabellini
On Wed, 11 May 2022, Bertrand Marquis wrote: > > I understand the patch is already written, so I was OK if you simply list > > of the commits with the authors/tags for this time. > > I would like to understand where this requirement is coming from. > > @George: is there some kind of legal reason

Re: [PATCH 11/30] um: Improve panic notifiers consistency and ordering

2022-05-11 Thread Guilherme G. Piccoli
On 10/05/2022 11:28, Petr Mladek wrote: > [...] > It is not clear to me why user mode linux should not care about > the other notifiers. It might be because I do not know much > about the user mode linux. > > Is the because they always create core dump or are never running > in a hypervisor or ...

Re: [PATCH] swiotlb-xen: fix DMA_ATTR_NO_KERNEL_MAPPING on arm

2022-05-11 Thread Stefano Stabellini
On Wed, 11 May 2022, Christoph Hellwig wrote: > On Fri, Apr 29, 2022 at 04:15:38PM -0700, Stefano Stabellini wrote: > > Great! Christoph you can go ahead and pick it up in your tree if you are > > up for it. > > The patch is in the dma-mapping for-next brancch now: > > http://git.infradead.org/us

Re: [PATCH V2 2/7] xen/grants: support allocating consecutive grants

2022-05-11 Thread Boris Ostrovsky
On 5/11/22 2:00 PM, Oleksandr wrote: On 07.05.22 21:19, Oleksandr Tyshchenko wrote: Hello Boris, Stefano From: Juergen Gross For support of virtio via grant mappings in rare cases larger mappings using consecutive grants are needed. Support those by adding a bitmap of free grants. As co

[ovmf test] 170336: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170336 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170336/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[ovmf test] 170337: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170337 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170337/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[ovmf test] 170338: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170338 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170338/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

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

2022-05-11 Thread osstest service owner
flight 170334 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/170334/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemuu-win7-amd64 19 guest-stopfail like 170286 test-armhf-armhf-libvirt 16 sav

[ovmf test] 170339: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170339 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170339/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[ovmf test] 170340: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170340 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170340/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[ovmf test] 170341: regressions - FAIL

2022-05-11 Thread osstest service owner
flight 170341 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/170341/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

  1   2   >