Re: [PATCH v8 0/7] Add pci_dev_for_each_resource() helper and update users

2023-05-31 Thread Jonas Gorski
Hi, On Tue, 30 May 2023 at 23:34, Bjorn Helgaas wrote: > On Fri, May 12, 2023 at 02:48:51PM -0500, Bjorn Helgaas wrote: > > On Fri, May 12, 2023 at 01:56:29PM +0300, Andy Shevchenko wrote: > > > On Tue, May 09, 2023 at 01:21:22PM -0500, Bjorn Helgaas wrote: > > > > On Tue, Apr 04, 2023 at

Re: [PATCH v3 22/34] csky: Convert __pte_free_tlb() to use ptdescs

2023-05-31 Thread Guo Ren
Acked-by: Guo Ren On Thu, Jun 1, 2023 at 5:34 AM Vishal Moola (Oracle) wrote: > > Part of the conversions to replace pgtable constructor/destructors with > ptdesc equivalents. > > Signed-off-by: Vishal Moola (Oracle) > --- > arch/csky/include/asm/pgalloc.h | 4 ++-- > 1 file changed, 2

[qemu-mainline test] 181057: regressions - FAIL

2023-05-31 Thread osstest service owner
flight 181057 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/181057/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt-pair 10 xen-install/src_host fail REGR. vs. 180691

[PATCH v2 2/2] net: Update MemReentrancyGuard for NIC

2023-05-31 Thread Akihiko Odaki
Recently MemReentrancyGuard was added to DeviceState to record that the device is engaging in I/O. The network device backend needs to update it when delivering a packet to a device. This implementation follows what bottom half does, but it does not add a tracepoint for the case that the network

[PATCH v2 0/2] net: Update MemReentrancyGuard for NIC

2023-05-31 Thread Akihiko Odaki
Recently MemReentrancyGuard was added to DeviceState to record that the device is engaging in I/O. The network device backend needs to update it when delivering a packet to a device. This implementation follows what bottom half does, but it does not add a tracepoint for the case that the network

[PATCH v2 1/2] net: Provide MemReentrancyGuard * to qemu_new_nic()

2023-05-31 Thread Akihiko Odaki
Recently MemReentrancyGuard was added to DeviceState to record that the device is engaging in I/O. The network device backend needs to update it when delivering a packet to a device. In preparation for such a change, add MemReentrancyGuard * as a parameter of qemu_new_nic(). Signed-off-by:

RE: [XEN][PATCH v6 08/19] xen/device-tree: Add device_tree_find_node_by_path() to find nodes in device tree

2023-05-31 Thread Henry Wang
Hi Vikram, > -Original Message- > Hi Henry & Michal, > Changed this for v7. Will send it out soon. > > @Henry, i didn't add reviewed-by as the patch is bit changed with > renaming. Can you please review v7 and give your feedback. Thanks for the reminder, yes I would be more than happy

[linux-linus test] 181033: regressions - trouble: blocked/broken/fail/pass

2023-05-31 Thread osstest service owner
flight 181033 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/181033/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt broken test-armhf-armhf-xl-credit1 8 xen-boot

[PATCH] automation: zen3 dom0pvh test

2023-05-31 Thread Stefano Stabellini
From: Stefano Stabellini Add a PVH Dom0 test for the zen3 runner. Signed-off-by: Stefano Stabellini --- automation/gitlab-ci/test.yaml | 8 1 file changed, 8 insertions(+) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index fbe2c0589a..d5cb238b0a

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

2023-05-31 Thread osstest service owner
flight 181054 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/181054/ 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

[PATCH v3 14/34] powerpc: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
In order to split struct ptdesc from struct page, convert various functions to use ptdescs. Signed-off-by: Vishal Moola (Oracle) --- arch/powerpc/mm/book3s64/mmu_context.c | 10 +++--- arch/powerpc/mm/book3s64/pgtable.c | 32 +- arch/powerpc/mm/pgtable-frag.c | 46

[PATCH v3 25/34] m68k: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize

[PATCH v3 18/34] mm: Remove page table members from struct page

2023-05-31 Thread Vishal Moola (Oracle)
The page table members are now split out into their own ptdesc struct. Remove them from struct page. Signed-off-by: Vishal Moola (Oracle) --- include/linux/mm_types.h | 14 -- include/linux/pgtable.h | 3 --- 2 files changed, 17 deletions(-) diff --git a/include/linux/mm_types.h

[PATCH v3 15/34] x86: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
In order to split struct ptdesc from struct page, convert various functions to use ptdescs. Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize page tables further. Signed-off-by: Vishal Moola

[PATCH v3 28/34] openrisc: Convert __pte_free_tlb() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) --- arch/openrisc/include/asm/pgalloc.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/openrisc/include/asm/pgalloc.h

[PATCH v3 32/34] sparc: Convert pgtable_pte_page_{ctor, dtor}() to ptdesc equivalents

2023-05-31 Thread Vishal Moola (Oracle)
Part of the conversions to replace pgtable pte constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) --- arch/sparc/mm/srmmu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c index

[PATCH v3 13/34] mm: Create ptdesc equivalents for pgtable_{pte,pmd}_page_{ctor,dtor}

2023-05-31 Thread Vishal Moola (Oracle)
Creates pagetable_pte_ctor(), pagetable_pmd_ctor(), pagetable_pte_dtor(), and pagetable_pmd_dtor() and make the original pgtable constructor/destructors wrappers. Signed-off-by: Vishal Moola (Oracle) --- include/linux/mm.h | 56 ++ 1 file changed, 42

[PATCH v3 22/34] csky: Convert __pte_free_tlb() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) --- arch/csky/include/asm/pgalloc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/csky/include/asm/pgalloc.h

[PATCH v3 34/34] mm: Remove pgtable_{pmd, pte}_page_{ctor, dtor}() wrappers

2023-05-31 Thread Vishal Moola (Oracle)
These functions are no longer necessary. Remove them and cleanup Documentation referencing them. Signed-off-by: Vishal Moola (Oracle) --- Documentation/mm/split_page_table_lock.rst| 12 +-- .../zh_CN/mm/split_page_table_lock.rst| 14 ++--- include/linux/mm.h

Re: [XEN][PATCH v6 08/19] xen/device-tree: Add device_tree_find_node_by_path() to find nodes in device tree

2023-05-31 Thread Vikram Garhwal
Hi Henry & Michal, On 5/9/23 4:29 AM, Michal Orzel wrote: On 04/05/2023 06:23, Henry Wang wrote: Hi Vikram, -Original Message- Subject: [XEN][PATCH v6 08/19] xen/device-tree: Add device_tree_find_node_by_path() to find nodes in device tree Add device_tree_find_node_by_path() to

[PATCH v3 31/34] sparc64: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. Signed-off-by: Vishal Moola (Oracle) --- arch/sparc/mm/init_64.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff

[PATCH v3 20/34] arm: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. late_alloc() also uses the __get_free_pages() helper function. Convert this to use pagetable_alloc() and ptdesc_address() instead to help standardize

[PATCH v3 17/34] s390: Convert various pgalloc functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize

[PATCH v3 23/34] hexagon: Convert __pte_free_tlb() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) --- arch/hexagon/include/asm/pgalloc.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/hexagon/include/asm/pgalloc.h

[PATCH v3 29/34] riscv: Convert alloc_{pmd, pte}_late() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize

[PATCH v3 33/34] um: Convert {pmd, pte}_free_tlb() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Also cleans up some spacing issues. Signed-off-by: Vishal Moola (Oracle) --- arch/um/include/asm/pgalloc.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH v3 26/34] mips: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize

[PATCH v3 21/34] arm64: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. Signed-off-by: Vishal Moola (Oracle) --- arch/arm64/include/asm/tlb.h | 14 -- arch/arm64/mm/mmu.c | 7 --- 2 files

[PATCH v3 16/34] s390: Convert various gmap functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
In order to split struct ptdesc from struct page, convert various functions to use ptdescs. Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize page tables further. Signed-off-by: Vishal Moola

[PATCH v3 19/34] pgalloc: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize

[PATCH v3 24/34] loongarch: Convert various functions to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs. Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize

[PATCH v3 30/34] sh: Convert pte_free_tlb() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Also cleans up some spacing issues. Signed-off-by: Vishal Moola (Oracle) --- arch/sh/include/asm/pgalloc.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH v3 27/34] nios2: Convert __pte_free_tlb() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) --- arch/nios2/include/asm/pgalloc.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/nios2/include/asm/pgalloc.h

[PATCH v3 11/34] mm: Convert pmd_ptlock_free() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
This removes some direct accesses to struct page, working towards splitting out struct ptdesc from struct page. Signed-off-by: Vishal Moola (Oracle) --- include/linux/mm.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h

[PATCH v3 10/34] mm: Convert ptlock_init() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
This removes some direct accesses to struct page, working towards splitting out struct ptdesc from struct page. Signed-off-by: Vishal Moola (Oracle) --- include/linux/mm.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h

[PATCH v3 09/34] mm: Convert pmd_ptlock_init() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
This removes some direct accesses to struct page, working towards splitting out struct ptdesc from struct page. Signed-off-by: Vishal Moola (Oracle) --- include/linux/mm.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h

[PATCH v3 12/34] mm: Convert ptlock_free() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
This removes some direct accesses to struct page, working towards splitting out struct ptdesc from struct page. Signed-off-by: Vishal Moola (Oracle) --- include/linux/mm.h | 10 +- mm/memory.c| 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH v3 08/34] mm: Convert ptlock_ptr() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
This removes some direct accesses to struct page, working towards splitting out struct ptdesc from struct page. Signed-off-by: Vishal Moola (Oracle) --- arch/x86/xen/mmu_pv.c | 2 +- include/linux/mm.h| 14 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH v3 01/34] mm: Add PAGE_TYPE_OP folio functions

2023-05-31 Thread Vishal Moola (Oracle)
No folio equivalents for page type operations have been defined, so define them for later folio conversions. Also changes the Page##uname macros to take in const struct page* since we only read the memory here. Signed-off-by: Vishal Moola (Oracle) --- include/linux/page-flags.h | 20

[PATCH v3 07/34] mm: Convert ptlock_alloc() to use ptdescs

2023-05-31 Thread Vishal Moola (Oracle)
This removes some direct accesses to struct page, working towards splitting out struct ptdesc from struct page. Signed-off-by: Vishal Moola (Oracle) --- include/linux/mm.h | 6 +++--- mm/memory.c| 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/mm.h

[PATCH v3 05/34] mm: add utility functions for ptdesc

2023-05-31 Thread Vishal Moola (Oracle)
Introduce utility functions setting the foundation for ptdescs. These will also assist in the splitting out of ptdesc from struct page. Functions that focus on the descriptor are prefixed with ptdesc_* while functions that focus on the pagetable are prefixed with pagetable_*. pagetable_alloc()

[PATCH v3 00/34] Split ptdesc from struct page

2023-05-31 Thread Vishal Moola (Oracle)
happen. This is rebased on next-20230531. v3: Got an Acked-by Fixed the arm64 compilation issue Rename some ptdesc utility functions to be pagetable_* instead Add some comments to functions describing their uses Vishal Moola (Oracle) (34): mm: Add PAGE_TYPE_OP folio functions s390

[PATCH v3 02/34] s390: Use _pt_s390_gaddr for gmap address tracking

2023-05-31 Thread Vishal Moola (Oracle)
s390 uses page->index to keep track of page tables for the guest address space. In an attempt to consolidate the usage of page fields in s390, replace _pt_pad_2 with _pt_s390_gaddr to replace page->index in gmap. This will help with the splitting of struct ptdesc from struct page, as well as

[PATCH v3 06/34] mm: Convert pmd_pgtable_page() to pmd_ptdesc()

2023-05-31 Thread Vishal Moola (Oracle)
Converts pmd_pgtable_page() to pmd_ptdesc() and all its callers. This removes some direct accesses to struct page, working towards splitting out struct ptdesc from struct page. Signed-off-by: Vishal Moola (Oracle) --- include/linux/mm.h | 8 1 file changed, 4 insertions(+), 4

[PATCH v3 04/34] pgtable: Create struct ptdesc

2023-05-31 Thread Vishal Moola (Oracle)
Currently, page table information is stored within struct page. As part of simplifying struct page, create struct ptdesc for page table information. Signed-off-by: Vishal Moola (Oracle) --- include/linux/pgtable.h | 52 + 1 file changed, 52 insertions(+)

[PATCH v3 03/34] s390: Use pt_frag_refcount for pagetables

2023-05-31 Thread Vishal Moola (Oracle)
s390 currently uses _refcount to identify fragmented page tables. The page table struct already has a member pt_frag_refcount used by powerpc, so have s390 use that instead of the _refcount field as well. This improves the safety for _refcount and the page table tracking. This also allows us to

Re: [PATCH v8 0/7] Add pci_dev_for_each_resource() helper and update users

2023-05-31 Thread Bjorn Helgaas
On Wed, May 31, 2023 at 08:48:35PM +0200, Jonas Gorski wrote: > ... > Looking at the code I understand where coverity is coming from: > > #define __pci_dev_for_each_res0(dev, res, ...) \ >for (unsigned int __b = 0; \ >

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

2023-05-31 Thread osstest service owner
flight 181027 xen-unstable real [real] flight 181056 xen-unstable real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/181027/ http://logs.test-lab.xenproject.org/osstest/logs/181056/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking):

[qemu-mainline test] 181041: regressions - trouble: blocked/broken/fail/pass

2023-05-31 Thread osstest service owner
flight 181041 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/181041/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf broken test-amd64-amd64-libvirt-pair 30

Re: [XEN][PATCH v6 02/19] common/device_tree: handle memory allocation failure in __unflatten_device_tree()

2023-05-31 Thread Vikram Garhwal
Hi Michal, On 5/5/23 2:38 AM, Michal Orzel wrote: On 03/05/2023 01:36, Vikram Garhwal wrote: Change __unflatten_device_tree() return type to integer so it can propagate memory allocation failure. Add panic() in dt_unflatten_host_device_tree() for memory allocation failure during boot.

Re: [RFC PATCH v1 0/9] Hypervisor-Enforced Kernel Integrity

2023-05-31 Thread Sean Christopherson
On Tue, May 30, 2023, Rick P Edgecombe wrote: > On Fri, 2023-05-26 at 17:22 +0200, Micka�l Sala�n wrote: > > > > Can the guest kernel ask the host VMM's emulated devices to DMA into > > > > the protected data? It should go through the host userspace mappings I > > > > think, which don't care

Re: [PATCH v6 5/6] xen/riscv: introduce an implementation of macros from

2023-05-31 Thread Oleksii
On Tue, 2023-05-30 at 18:00 +0200, Jan Beulich wrote: > > +static uint32_t read_instr(unsigned long pc) > > +{ > > +    uint16_t instr16 = *(uint16_t *)pc; > > + > > +    if ( GET_INSN_LENGTH(instr16) == 2 ) > > +    return (uint32_t)instr16; > > +    else > > +    return *(uint32_t *)pc;

Re: [PATCH v3 0/6] block: add blk_io_plug_call() API

2023-05-31 Thread Stefan Hajnoczi
Hi Kevin, Do you want to review the thread-local blk_io_plug() patch series or should I merge it? Thanks, Stefan signature.asc Description: PGP signature

[libvirt test] 181023: tolerable FAIL - PUSHED

2023-05-31 Thread osstest service owner
flight 181023 libvirt real [real] flight 181049 libvirt real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/181023/ http://logs.test-lab.xenproject.org/osstest/logs/181049/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking):

[xen-unstable-smoke test] 181044: regressions - trouble: blocked/broken/pass

2023-05-31 Thread osstest service owner
flight 181044 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/181044/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf broken build-armhf 5

[xen-unstable-smoke bisection] complete build-amd64

2023-05-31 Thread osstest service owner
branch xen-unstable-smoke xenbranch xen-unstable-smoke job build-amd64 testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in

[PATCH] x86/microcode: Prevent attempting updates known to fail

2023-05-31 Thread Alejandro Vallejo
If IA32_MSR_MCU_CONTROL exists, then it's possible a CPU may be unable to perform microcode updates. This is controlled through the DIS_MCU_LOAD bit. This patch checks that the CPU that got the request is capable of doing an update. If it is, then we let the procedure go through. While not enough

Re: [PATCH RFC v2] vPCI: account for hidden devices

2023-05-31 Thread Stefano Stabellini
On Wed, 31 May 2023, Jan Beulich wrote: > On 31.05.2023 00:38, Stefano Stabellini wrote: > > On Fri, 26 May 2023, Jan Beulich wrote: > >> On 25.05.2023 21:24, Stefano Stabellini wrote: > >>> On Thu, 25 May 2023, Jan Beulich wrote: > On 25.05.2023 01:37, Stefano Stabellini wrote: > > On

Re: [PATCH] xen/cpu-policy: Add an IBRS -> AUTO_IBRS dependency

2023-05-31 Thread Alejandro Vallejo
On Wed, May 31, 2023 at 04:30:28PM +0100, Andrew Cooper wrote: > AUTO_IBRS is an extention over regular (AMD) IBRS, and needs hiding if IBRS is > levelled out for any reason. True that. My bad. > --- > xen/tools/gen-cpuid.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[ovmf test] 181036: all pass - PUSHED

2023-05-31 Thread osstest service owner
flight 181036 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/181036/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 9f12d6b6ecf8ffe9cd4d93fe0976fdbaf2ded4f0 baseline version: ovmf

[PATCH] xen/cpu-policy: Add an IBRS -> AUTO_IBRS dependency

2023-05-31 Thread Andrew Cooper
AUTO_IBRS is an extention over regular (AMD) IBRS, and needs hiding if IBRS is levelled out for any reason. Fixes: defaf651631a ("x86/hvm: Expose Automatic IBRS to guests") Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Wei Liu CC: Alejandro Vallejo This was an

[xen-unstable-smoke test] 181035: regressions - trouble: blocked/fail

2023-05-31 Thread osstest service owner
flight 181035 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/181035/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 181018

[qemu-mainline test] 181021: regressions - FAIL

2023-05-31 Thread osstest service owner
flight 181021 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/181021/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-libvirt-pair 30 leak-check/check/src_host fail REGR. vs. 180691

[ANNOUNCE] Call for agenda items for 1 June Community Call @ 1500 UTC

2023-05-31 Thread George Dunlap
Hi all, Sorry for the late notice on this -- somehow my reminder didn't trigger. I believe we had discussed at the last call to hold this meeting, and skip the one in July. The proposed agenda is in https://cryptpad.fr/pad/#/2/pad/edit/eddrScu3DyYdHZ6f0ReVGazZ/ and you can edit to add items.

Re: [PATCH v6 00/16] x86/mtrr: fix handling with PAT but without MTRR

2023-05-31 Thread Juergen Gross
On 31.05.23 10:35, Borislav Petkov wrote: [0.018357] MTRR default type: uncachable [0.022347] MTRR fixed ranges enabled: [0.026085] 0-9 write-back [0.029650] A-B uncachable [0.033214] C-F write-protect [0.037039] MTRR variable ranges enabled:

Re: [PATCH v2 3/3] multiboot2: do not set StdOut mode unconditionally

2023-05-31 Thread Jan Beulich
On 31.05.2023 12:57, Roger Pau Monné wrote: > On Wed, Apr 05, 2023 at 12:36:55PM +0200, Jan Beulich wrote: >> On 31.03.2023 11:59, Roger Pau Monne wrote: >>> @@ -887,6 +881,15 @@ void __init efi_multiboot2(EFI_HANDLE ImageHandle, >>> EFI_SYSTEM_TABLE *SystemTable >>> >>>

Re: [PATCH 2/2] vPCI: fix test harness build

2023-05-31 Thread Jan Beulich
On 31.05.2023 15:51, Roger Pau Monné wrote: > On Wed, May 31, 2023 at 03:19:56PM +0200, Jan Beulich wrote: >> The earlier commit introduced two uses of is_hardware_domain(). >> >> Fixes: 465217b0f872 ("vPCI: account for hidden devices") >> Reported-by: Andrew Cooper >> Signed-off-by: Jan Beulich

Re: [patch] x86/smpboot: Fix the parallel bringup decision

2023-05-31 Thread Tom Lendacky
On 5/31/23 02:44, Thomas Gleixner wrote: The decision to allow parallel bringup of secondary CPUs checks CC_ATTR_GUEST_STATE_ENCRYPT to detect encrypted guests. Those cannot use parallel bootup because accessing the local APIC is intercepted and raises a #VC or #VE, which cannot be handled at

Re: [PATCH 2/2] vPCI: fix test harness build

2023-05-31 Thread Roger Pau Monné
On Wed, May 31, 2023 at 03:19:56PM +0200, Jan Beulich wrote: > The earlier commit introduced two uses of is_hardware_domain(). > > Fixes: 465217b0f872 ("vPCI: account for hidden devices") > Reported-by: Andrew Cooper > Signed-off-by: Jan Beulich Acked-by: Roger Pau Monné We do rely on the

[PATCH AUTOSEL 4.14 10/10] xen/blkfront: Only check REQ_FUA for writes

2023-05-31 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit b6ebaa8100090092aa602530d7e8316816d0c98d ] The existing code silently converts read operations with the REQ_FUA bit set into write-barrier operations. This results in data loss as the backend scribbles zeroes over the data instead of returning it. While

Re: [PATCH 1/2] vPCI: add test harness entry to ./MAINTAINERS

2023-05-31 Thread Roger Pau Monné
On Wed, May 31, 2023 at 03:19:31PM +0200, Jan Beulich wrote: > Signed-off-by: Jan Beulich Acked-by: Roger Pau Monné Thanks, Roger.

[PATCH AUTOSEL 4.19 13/13] xen/blkfront: Only check REQ_FUA for writes

2023-05-31 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit b6ebaa8100090092aa602530d7e8316816d0c98d ] The existing code silently converts read operations with the REQ_FUA bit set into write-barrier operations. This results in data loss as the backend scribbles zeroes over the data instead of returning it. While

[PATCH AUTOSEL 5.4 16/17] xen/blkfront: Only check REQ_FUA for writes

2023-05-31 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit b6ebaa8100090092aa602530d7e8316816d0c98d ] The existing code silently converts read operations with the REQ_FUA bit set into write-barrier operations. This results in data loss as the backend scribbles zeroes over the data instead of returning it. While

[PATCH AUTOSEL 5.10 20/21] xen/blkfront: Only check REQ_FUA for writes

2023-05-31 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit b6ebaa8100090092aa602530d7e8316816d0c98d ] The existing code silently converts read operations with the REQ_FUA bit set into write-barrier operations. This results in data loss as the backend scribbles zeroes over the data instead of returning it. While

[PATCH AUTOSEL 5.15 22/24] xen/blkfront: Only check REQ_FUA for writes

2023-05-31 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit b6ebaa8100090092aa602530d7e8316816d0c98d ] The existing code silently converts read operations with the REQ_FUA bit set into write-barrier operations. This results in data loss as the backend scribbles zeroes over the data instead of returning it. While

[PATCH AUTOSEL 6.1 30/33] xen/blkfront: Only check REQ_FUA for writes

2023-05-31 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit b6ebaa8100090092aa602530d7e8316816d0c98d ] The existing code silently converts read operations with the REQ_FUA bit set into write-barrier operations. This results in data loss as the backend scribbles zeroes over the data instead of returning it. While

[PATCH AUTOSEL 6.3 34/37] xen/blkfront: Only check REQ_FUA for writes

2023-05-31 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit b6ebaa8100090092aa602530d7e8316816d0c98d ] The existing code silently converts read operations with the REQ_FUA bit set into write-barrier operations. This results in data loss as the backend scribbles zeroes over the data instead of returning it. While

[PATCH 2/2] vPCI: fix test harness build

2023-05-31 Thread Jan Beulich
The earlier commit introduced two uses of is_hardware_domain(). Fixes: 465217b0f872 ("vPCI: account for hidden devices") Reported-by: Andrew Cooper Signed-off-by: Jan Beulich --- a/tools/tests/vpci/emul.h +++ b/tools/tests/vpci/emul.h @@ -82,6 +82,8 @@ typedef union { #define __hwdom_init

[PATCH 1/2] vPCI: add test harness entry to ./MAINTAINERS

2023-05-31 Thread Jan Beulich
Signed-off-by: Jan Beulich --- a/MAINTAINERS +++ b/MAINTAINERS @@ -568,6 +568,7 @@ VPCI M: Roger Pau Monné S: Supported +F: tools/tests/vpci/ F: xen/drivers/vpci/ F: xen/include/xen/vpci.h

[PATCH 0/2] vPCI: test harness adjustments

2023-05-31 Thread Jan Beulich
1: add test harness entry to ./MAINTAINERS 2: fix test harness build Jan

Re: [dm-devel] [PATCH v2 00/16] Diskseq support in loop, device-mapper, and blkback

2023-05-31 Thread Christoph Hellwig
On Tue, May 30, 2023 at 04:31:00PM -0400, Demi Marie Obenour wrote: > This work aims to allow userspace to create and destroy block devices > in a race-free way, and to allow them to be exposed to other Xen VMs via > blkback without races. > > Changes since v1: > > - Several device-mapper fixes

Re: [PATCH v6 5/6] xen/riscv: introduce an implementation of macros from

2023-05-31 Thread Jan Beulich
On 31.05.2023 12:40, Oleksii wrote: > On Tue, 2023-05-30 at 18:00 +0200, Jan Beulich wrote: >> On 29.05.2023 14:13, Oleksii Kurochko wrote: >>> +static uint32_t read_instr(unsigned long pc) >>> +{ >>> +    uint16_t instr16 = *(uint16_t *)pc; >>> + >>> +    if ( GET_INSN_LENGTH(instr16) == 2 ) >>>

[ovmf test] 181028: all pass - PUSHED

2023-05-31 Thread osstest service owner
flight 181028 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/181028/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf d15d2667d58d40c0748919ac4b5771b875c0780b baseline version: ovmf

[linux-linus test] 181020: regressions - FAIL

2023-05-31 Thread osstest service owner
flight 181020 linux-linus real [real] flight 181030 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/181020/ http://logs.test-lab.xenproject.org/osstest/logs/181030/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be

Re: [PATCH v2 2/3] x86: Expose Automatic IBRS to guests

2023-05-31 Thread Andrew Cooper
On 31/05/2023 10:01 am, Alejandro Vallejo wrote: > On Tue, May 30, 2023 at 06:31:03PM +0100, Andrew Cooper wrote: >> I've committed this, but made two tweaks to the commit message.  First, >> "x86/hvm" in the subject because it's important context at a glance. > Sure, that makes sense. > >>

Re: [xen-unstable-smoke test] 181031: regressions - trouble: blocked/fail

2023-05-31 Thread Andrew Cooper
On 31/05/2023 1:17 pm, osstest service owner wrote: > flight 181031 xen-unstable-smoke real [real] > http://logs.test-lab.xenproject.org/osstest/logs/181031/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > build-amd64

[xen-unstable-smoke test] 181031: regressions - trouble: blocked/fail

2023-05-31 Thread osstest service owner
flight 181031 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/181031/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 181018

[BROKEN] Re: [PATCH v9 0/5] enable MMU for RISC-V

2023-05-31 Thread Andrew Cooper
On 25/05/2023 4:28 pm, Oleksii Kurochko wrote: > Oleksii Kurochko (5): > xen/riscv: add VM space layout > xen/riscv: introduce setup_initial_pages > xen/riscv: align __bss_start > xen/riscv: setup initial pagetables > xen/riscv: remove dummy_bss variable These have just been committed.

Re: [patch] x86/smpboot: Fix the parallel bringup decision

2023-05-31 Thread Kirill A. Shutemov
On Wed, May 31, 2023 at 09:44:26AM +0200, Thomas Gleixner wrote: > The decision to allow parallel bringup of secondary CPUs checks > CC_ATTR_GUEST_STATE_ENCRYPT to detect encrypted guests. Those cannot use > parallel bootup because accessing the local APIC is intercepted and raises > a #VC or #VE,

xen with colors issue again

2023-05-31 Thread Oleg Nikitenko
Hello, I built the xlnx_rebase_4.17 branch and ran it in our environment with colors. I ran into the next issue. Looks like some device was stucking. It may come up immediately on start or after 20-30 minutes later even with no DomUs. A xen command line is "console=dtuart dtuart=serial0

Re: [PATCH v2 3/3] multiboot2: do not set StdOut mode unconditionally

2023-05-31 Thread Roger Pau Monné
On Wed, Apr 05, 2023 at 12:36:55PM +0200, Jan Beulich wrote: > On 31.03.2023 11:59, Roger Pau Monne wrote: > > @@ -887,6 +881,15 @@ void __init efi_multiboot2(EFI_HANDLE ImageHandle, > > EFI_SYSTEM_TABLE *SystemTable > > > > efi_arch_edid(gop_handle); > > } > > +else > > +

Re: [PATCH v6 5/6] xen/riscv: introduce an implementation of macros from

2023-05-31 Thread Oleksii
On Tue, 2023-05-30 at 18:00 +0200, Jan Beulich wrote: > On 29.05.2023 14:13, Oleksii Kurochko wrote: > > --- a/xen/arch/riscv/include/asm/bug.h > > +++ b/xen/arch/riscv/include/asm/bug.h > > @@ -7,4 +7,32 @@ > >  #ifndef _ASM_RISCV_BUG_H > >  #define _ASM_RISCV_BUG_H > >   > > +#ifndef

[PATCH 1/1] doc: clarify intended usage of ~/control/ xentore path

2023-05-31 Thread Yann Dirson
Signed-off-by: Yann Dirson --- docs/misc/xenstore-paths.pandoc | 29 + 1 file changed, 29 insertions(+) diff --git a/docs/misc/xenstore-paths.pandoc b/docs/misc/xenstore-paths.pandoc index f07ef90f63..5501033893 100644 --- a/docs/misc/xenstore-paths.pandoc +++

[PATCH 0/1] RFC: clarify intended usage of ~/control/ xentore path

2023-05-31 Thread Yann Dirson
This proposal, spurred by a discrepancy between how toolstacks handles the control nodes, tries to summarize what I understand to be the spirit of ~/control/, from its children already described in the xenstore-paths document, and from the libxl behaviour. Yann Dirson (1): doc: clarify intended

Re: [PATCH v6 4/6] xen/riscv: introduce trap_init()

2023-05-31 Thread Oleksii
On Tue, 2023-05-30 at 17:44 +0200, Jan Beulich wrote: > On 29.05.2023 14:13, Oleksii Kurochko wrote: > > --- a/xen/arch/riscv/traps.c > > +++ b/xen/arch/riscv/traps.c > > @@ -12,6 +12,31 @@ > >  #include > >  #include > >   > > +#define cast_to_bug_frame(addr) \ > > +    (const struct bug_frame

Re: [PATCH v6 00/16] x86/mtrr: fix handling with PAT but without MTRR

2023-05-31 Thread Borislav Petkov
On Wed, May 31, 2023 at 11:31:37AM +0200, Juergen Gross wrote: > What it did would have been printed if pr_debug() would have been > active. :-( Lemme turn those into pr_info(). pr_debug() is nuts. > Did you check whether CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT was the same in > both > kernels

Re: [PATCH v2 2/3] multiboot2: parse console= and vga= options when setting GOP mode

2023-05-31 Thread Jan Beulich
On 31.05.2023 11:30, Roger Pau Monné wrote: > On Wed, May 31, 2023 at 11:15:44AM +0200, Jan Beulich wrote: >> On 30.05.2023 18:02, Roger Pau Monné wrote: >>> On Wed, Apr 05, 2023 at 12:15:26PM +0200, Jan Beulich wrote: On 31.03.2023 11:59, Roger Pau Monne wrote: > Only set the GOP mode if

Re: [PATCH v6 00/16] x86/mtrr: fix handling with PAT but without MTRR

2023-05-31 Thread Juergen Gross
On 31.05.23 10:35, Borislav Petkov wrote: On Wed, May 31, 2023 at 09:28:57AM +0200, Juergen Gross wrote: Can you please boot the system with the MTRR patches and specify "mtrr=debug" on the command line? I'd be interested in the raw register values being read and the resulting memory type map.

Re: [PATCH v2 2/3] multiboot2: parse console= and vga= options when setting GOP mode

2023-05-31 Thread Roger Pau Monné
On Wed, May 31, 2023 at 11:15:44AM +0200, Jan Beulich wrote: > On 30.05.2023 18:02, Roger Pau Monné wrote: > > On Wed, Apr 05, 2023 at 12:15:26PM +0200, Jan Beulich wrote: > >> On 31.03.2023 11:59, Roger Pau Monne wrote: > >>> Only set the GOP mode if vga is selected in the console option, > >> >

Re: [PATCH RFC v2] vPCI: account for hidden devices

2023-05-31 Thread Jan Beulich
On 31.05.2023 00:38, Stefano Stabellini wrote: > On Fri, 26 May 2023, Jan Beulich wrote: >> On 25.05.2023 21:24, Stefano Stabellini wrote: >>> On Thu, 25 May 2023, Jan Beulich wrote: On 25.05.2023 01:37, Stefano Stabellini wrote: > On Wed, 24 May 2023, Jan Beulich wrote: RFC:

  1   2   >