Re: [PATCH v8 5/8] KVM: x86/mmu: Don't pass FOLL_GET to __kvm_follow_pfn

2023-08-24 Thread Mika Penttilä
On 8/24/23 11:04, David Stevens wrote: From: David Stevens Stop passing FOLL_GET to __kvm_follow_pfn. This allows the host to map memory into the guest that is backed by un-refcounted struct pages - for example, the tail pages of higher order non-compound pages allocated by the amdgpu driver

Re: [PATCH] hmm-tests: Fix migrate_dirty_page test

2022-09-13 Thread Mika Penttilä
buffer, npages)); + hmm_migrate_sys_to_dev(self->fd, buffer, npages); ASSERT_FALSE(write_cgroup_param(cgroup, "memory.reclaim", 1UL<<30)); Reviewed-by: Mika Penttilä

Re: [PATCH v4 11/11] KVM: x86: First attempt at converting nested virtual APIC page to gpc

2021-11-20 Thread Mika Penttilä
On 20.11.2021 18.21, David Woodhouse wrote: On Sat, 2021-11-20 at 17:48 +0200, Mika Penttilä wrote: @@ -9785,6 +9787,14 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu) local_irq_disable(); vcpu->mode = IN_GUEST_MODE; + /* + * If the guest requires dir

Re: [PATCH v4 11/11] KVM: x86: First attempt at converting nested virtual APIC page to gpc

2021-11-20 Thread Mika Penttilä
Hi, On 20.11.2021 12.28, David Woodhouse wrote: From: David Woodhouse This is what evolved during the discussion at https://lore.kernel.org/kvm/960e233f-ec0b-4fb5-ba2e-c8d2ccb38...@infradead.org/T/#m11d75fcfe2da357ec1dabba0d0e3abb91fd13665 As discussed, an alternative approach might be to

Re: [PATCH] ASoC: fsl_ssi: Fix mode setting when changing channel number

2018-04-09 Thread Mika Penttilä
comments to declare ssi->i2s_net does > not reflect the register value but merely the initial setting from > the set_dai_fmt(). > > Reported-by: Mika Penttilä <mika.pentt...@nextfour.com> > Signed-off-by: Nicolin Chen <nicoleots...@gmail.com> > Cc: Mika Penttilä <m