<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in kvm_vcpu_timer.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>cea8896b - RISC-V: KVM: Fix kvm_riscv_vcpu_timer_pending() for Sstc</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/riscv/include/asm/kvm_vcpu_timer.h#cea8896b</link>
        <description>RISC-V: KVM: Fix kvm_riscv_vcpu_timer_pending() for SstcThe kvm_riscv_vcpu_timer_pending() checks per-VCPU next_cyclesand per-VCPU software injected VS timer interrupt. This functionreturns incorrect value when Sstc is available because the per-VCPUnext_cycles are only updated by kvm_riscv_vcpu_timer_save() calledfrom kvm_arch_vcpu_put(). As a result, when Sstc is available theVCPU does not block properly upon WFI traps.To fix the above issue, we introduce kvm_riscv_vcpu_timer_sync()which will update per-VCPU next_cycles upon every VM exit insteadof kvm_riscv_vcpu_timer_save().Fixes: 8f5cb44b1bae (&quot;RISC-V: KVM: Support sstc extension&quot;)Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;Reviewed-by: Atish Patra &lt;atishp@rivosinc.com&gt;Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;

            List of files:
            /linux-6.15/arch/riscv/include/asm/kvm_vcpu_timer.h</description>
        <pubDate>Fri, 21 Oct 2022 06:22:45 +0000</pubDate>
        <dc:creator>Anup Patel &lt;apatel@ventanamicro.com&gt;</dc:creator>
    </item>
<item>
        <title>8f5cb44b - RISC-V: KVM: Support sstc extension</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/riscv/include/asm/kvm_vcpu_timer.h#8f5cb44b</link>
        <description>RISC-V: KVM: Support sstc extensionSstc extension allows the guest to program the vstimecmp CSR directlyinstead of making an SBI call to the hypervisor to program the nextevent. The timer interrupt is also directly injected to the guest bythe hardware in this case. To maintain backward compatibility, thehypervisors also update the vstimecmp in an SBI set_time call ifthe hardware supports it. Thus, the older kernels in guest alsotake advantage of the sstc extension.Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;Signed-off-by: Atish Patra &lt;atishp@rivosinc.com&gt;Acked-by: Anup Patel &lt;anup@brainfault.org&gt;Link: https://lore.kernel.org/all/CAAhSdy2mb6wyqy0NAn9BcTWKMYEc0Z4zU3s3j7oNqBz6eDQ9sg@mail.gmail.com/Signed-off-by: Palmer Dabbelt &lt;palmer@rivosinc.com&gt;

            List of files:
            /linux-6.15/arch/riscv/include/asm/kvm_vcpu_timer.h</description>
        <pubDate>Fri, 22 Jul 2022 16:50:47 +0000</pubDate>
        <dc:creator>Atish Patra &lt;atishp@rivosinc.com&gt;</dc:creator>
    </item>
<item>
        <title>cca986fa - RISC-V: KVM: Make kvm_riscv_guest_timer_init a void function</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/riscv/include/asm/kvm_vcpu_timer.h#cca986fa</link>
        <description>RISC-V: KVM: Make kvm_riscv_guest_timer_init a void functionIt can never fail so convey that fact explicitly by making the functionvoid. Also in kvm_arch_init_vm it makes it clear that there no needto do any cleanup after kvm_riscv_gstage_vmid_init has been called.Signed-off-by: Nikolay Borisov &lt;nborisov@suse.com&gt;Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;

            List of files:
            /linux-6.15/arch/riscv/include/asm/kvm_vcpu_timer.h</description>
        <pubDate>Fri, 29 Jul 2022 11:44:26 +0000</pubDate>
        <dc:creator>Nikolay Borisov &lt;nborisov@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>3a9f66cb - RISC-V: KVM: Add timer functionality</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/riscv/include/asm/kvm_vcpu_timer.h#3a9f66cb</link>
        <description>RISC-V: KVM: Add timer functionalityThe RISC-V hypervisor specification doesn&apos;t have any virtual timerfeature.Due to this, the guest VCPU timer will be programmed via SBI calls.The host will use a separate hrtimer event for each guest VCPU toprovide timer functionality. We inject a virtual timer interrupt tothe guest VCPU whenever the guest VCPU hrtimer event expires.This patch adds guest VCPU timer implementation along with ONE_REGinterface to access VCPU timer state from user space.Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;Acked-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;Acked-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;Acked-by: Palmer Dabbelt &lt;palmerdabbelt@google.com&gt;

            List of files:
            /linux-6.15/arch/riscv/include/asm/kvm_vcpu_timer.h</description>
        <pubDate>Mon, 27 Sep 2021 11:40:11 +0000</pubDate>
        <dc:creator>Atish Patra &lt;atish.patra@wdc.com&gt;</dc:creator>
    </item>
</channel>
</rss>
