Re: [PATCH for-4.19] ppc/riscv: fix arch_acquire_resource_check()

2024-05-05 Thread Shawn Anastasio
Hi Roger, On 4/30/24 10:34 AM, Roger Pau Monne wrote: > None of the implementations support set_foreign_p2m_entry() yet, neither they > have a p2m walk in domain_relinquish_resources() in order to remove the > foreign > mappings from the p2m and thus drop the extra refcounts. > > Adjust the

Re: [PATCH for-4.19] ppc/riscv: fix arch_acquire_resource_check()

2024-05-02 Thread Roger Pau Monné
On Thu, May 02, 2024 at 10:46:12AM +0200, Oleksii wrote: > On Tue, 2024-04-30 at 17:34 +0200, Roger Pau Monne wrote: > > None of the implementations support set_foreign_p2m_entry() yet, > > neither they > > have a p2m walk in domain_relinquish_resources() in order to remove > > the foreign > >

Re: [PATCH for-4.19] ppc/riscv: fix arch_acquire_resource_check()

2024-05-02 Thread Oleksii
On Tue, 2024-04-30 at 17:34 +0200, Roger Pau Monne wrote: > None of the implementations support set_foreign_p2m_entry() yet, > neither they > have a p2m walk in domain_relinquish_resources() in order to remove > the foreign > mappings from the p2m and thus drop the extra refcounts. > > Adjust the

Re: [PATCH for-4.19] ppc/riscv: fix arch_acquire_resource_check()

2024-05-02 Thread Roger Pau Monné
On Thu, May 02, 2024 at 09:23:30AM +0200, Jan Beulich wrote: > On 30.04.2024 17:34, Roger Pau Monne wrote: > > None of the implementations support set_foreign_p2m_entry() yet, neither > > they > > have a p2m walk in domain_relinquish_resources() in order to remove the > > foreign > > mappings

Re: [PATCH for-4.19] ppc/riscv: fix arch_acquire_resource_check()

2024-05-02 Thread Jan Beulich
On 30.04.2024 17:34, Roger Pau Monne wrote: > None of the implementations support set_foreign_p2m_entry() yet, neither they > have a p2m walk in domain_relinquish_resources() in order to remove the > foreign > mappings from the p2m and thus drop the extra refcounts. While I don't mind the cod

[PATCH for-4.19] ppc/riscv: fix arch_acquire_resource_check()

2024-04-30 Thread Roger Pau Monne
None of the implementations support set_foreign_p2m_entry() yet, neither they have a p2m walk in domain_relinquish_resources() in order to remove the foreign mappings from the p2m and thus drop the extra refcounts. Adjust the arch helpers to return false and introduce a comment that clearly