From: Christoffer Dall <christoffer.dall@linaro.org> To: Alexander Graf <agraf@suse.de> Cc: kvm@vger.kernel.org, Marc Zyngier <marc.zyngier@arm.com>, linux-arm-kernel@lists.infradead.org, Paolo Bonzini <pbonzini@redhat.com>, kvmarm@lists.cs.columbia.edu Subject: [PATCH 0/3] Support userspace irqchip with arch timers Date: Tue, 27 Sep 2016 21:08:03 +0200 [thread overview] Message-ID: <20160927190806.22988-1-christoffer.dall@linaro.org> (raw) Hi Alex, Marc and I have been looking at this during Linaro connect and have slightly reworked your patch into this small series. It would be good if you could have a look at it and test it out. I've tested it with your QEMU, and it works for UP, but secondary CPUs fail to come up, and it looks like the kernel never gets an IPI for those CPUs from userspace. Any chance you're willing to take a look at that? Also, let me know if the split of your patch with preserving your authorship is ok with you. Thanks, -Christoffer --- This series slightly reworks the patches to support architected timers with a userspace irqchip sent by Alexander Graf [1]. We first cleanup some of the timer code to make it easier to understand what is being done in the later patches, and then split up the implementation into two separate patches (maintaining original authorship). Several changes have been made compared to v7 of the original single patch, including: - Rewording ABI documentation to be more in line with the ARM architecture - Add an explicit check for needing to notify userspace of a level change instead of propagating the value - Changes to commenting throughout to more accurately describe the architecture concepts we try to maintain - Reword of functions, for example from sync to update when the date only flows one direction These patches are based on two fixes necessary to test them which deal with running kernel code without an in-kernl irqchip, and they are both in kvmarm/next[2]. [1]: https://lists.cs.columbia.edu/pipermail/kvmarm/2016-September/021867.html [2]: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next Alexander Graf (2): KVM: arm/arm64: Add ARM arch timer interrupts ABI KVM: arm/arm64: Support arch timers with a userspace gic Christoffer Dall (1): KVM: arm/arm64: Cleanup the arch timer code's irqchip checking Documentation/virtual/kvm/api.txt | 29 ++++++++++ arch/arm/include/uapi/asm/kvm.h | 2 + arch/arm/kvm/arm.c | 19 +++---- arch/arm64/include/uapi/asm/kvm.h | 2 + include/kvm/arm_arch_timer.h | 2 + include/uapi/linux/kvm.h | 6 +++ virt/kvm/arm/arch_timer.c | 111 ++++++++++++++++++++++++++++++-------- 7 files changed, 139 insertions(+), 32 deletions(-) -- 2.9.0
WARNING: multiple messages have this Message-ID (diff)
From: christoffer.dall@linaro.org (Christoffer Dall) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/3] Support userspace irqchip with arch timers Date: Tue, 27 Sep 2016 21:08:03 +0200 [thread overview] Message-ID: <20160927190806.22988-1-christoffer.dall@linaro.org> (raw) Hi Alex, Marc and I have been looking at this during Linaro connect and have slightly reworked your patch into this small series. It would be good if you could have a look at it and test it out. I've tested it with your QEMU, and it works for UP, but secondary CPUs fail to come up, and it looks like the kernel never gets an IPI for those CPUs from userspace. Any chance you're willing to take a look at that? Also, let me know if the split of your patch with preserving your authorship is ok with you. Thanks, -Christoffer --- This series slightly reworks the patches to support architected timers with a userspace irqchip sent by Alexander Graf [1]. We first cleanup some of the timer code to make it easier to understand what is being done in the later patches, and then split up the implementation into two separate patches (maintaining original authorship). Several changes have been made compared to v7 of the original single patch, including: - Rewording ABI documentation to be more in line with the ARM architecture - Add an explicit check for needing to notify userspace of a level change instead of propagating the value - Changes to commenting throughout to more accurately describe the architecture concepts we try to maintain - Reword of functions, for example from sync to update when the date only flows one direction These patches are based on two fixes necessary to test them which deal with running kernel code without an in-kernl irqchip, and they are both in kvmarm/next[2]. [1]: https://lists.cs.columbia.edu/pipermail/kvmarm/2016-September/021867.html [2]: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next Alexander Graf (2): KVM: arm/arm64: Add ARM arch timer interrupts ABI KVM: arm/arm64: Support arch timers with a userspace gic Christoffer Dall (1): KVM: arm/arm64: Cleanup the arch timer code's irqchip checking Documentation/virtual/kvm/api.txt | 29 ++++++++++ arch/arm/include/uapi/asm/kvm.h | 2 + arch/arm/kvm/arm.c | 19 +++---- arch/arm64/include/uapi/asm/kvm.h | 2 + include/kvm/arm_arch_timer.h | 2 + include/uapi/linux/kvm.h | 6 +++ virt/kvm/arm/arch_timer.c | 111 ++++++++++++++++++++++++++++++-------- 7 files changed, 139 insertions(+), 32 deletions(-) -- 2.9.0
next reply other threads:[~2016-09-27 19:08 UTC|newest] Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-09-27 19:08 Christoffer Dall [this message] 2016-09-27 19:08 ` [PATCH 0/3] Support userspace irqchip with arch timers Christoffer Dall 2016-09-27 19:08 ` [PATCH 1/3] KVM: arm/arm64: Cleanup the arch timer code's irqchip checking Christoffer Dall 2016-09-27 19:08 ` Christoffer Dall 2016-09-27 19:08 ` [PATCH 2/3] KVM: arm/arm64: Add ARM arch timer interrupts ABI Christoffer Dall 2016-09-27 19:08 ` Christoffer Dall 2016-11-01 11:26 ` Peter Maydell 2016-11-01 11:26 ` Peter Maydell 2016-11-01 14:50 ` Christoffer Dall 2016-11-01 14:50 ` Christoffer Dall 2016-11-01 14:54 ` Peter Maydell 2016-11-01 14:54 ` Peter Maydell 2016-11-01 15:32 ` Christoffer Dall 2016-11-01 15:32 ` Christoffer Dall 2016-11-01 16:56 ` Marc Zyngier 2016-11-01 16:56 ` Marc Zyngier 2016-11-01 16:56 ` Marc Zyngier 2016-09-27 19:08 ` [PATCH 3/3] KVM: arm/arm64: Support arch timers with a userspace gic Christoffer Dall 2016-09-27 19:08 ` Christoffer Dall 2016-09-29 15:11 ` [PATCH 0/3] Support userspace irqchip with arch timers Alexander Graf 2016-09-29 15:11 ` Alexander Graf 2016-09-30 14:54 ` Alexander Graf 2016-09-30 14:54 ` Alexander Graf 2016-09-30 15:38 ` Alexander Graf 2016-09-30 15:38 ` Alexander Graf 2016-09-30 15:43 ` Christoffer Dall 2016-09-30 15:43 ` Christoffer Dall 2016-09-30 15:55 ` Alexander Graf 2016-09-30 15:55 ` Alexander Graf 2016-09-30 19:31 ` Alexander Graf 2016-09-30 19:31 ` Alexander Graf 2016-10-28 14:38 ` Marc Zyngier 2016-10-28 14:38 ` Marc Zyngier 2016-10-28 15:52 ` Alexander Graf 2016-10-28 15:52 ` Alexander Graf 2016-10-28 15:57 ` Marc Zyngier 2016-10-28 15:57 ` Marc Zyngier 2016-10-28 20:25 ` Alexander Graf 2016-10-28 20:25 ` Alexander Graf 2016-10-29 13:19 ` Paolo Bonzini 2016-10-29 13:19 ` Paolo Bonzini 2016-10-29 18:55 ` Alexander Graf 2016-10-29 18:55 ` Alexander Graf
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20160927190806.22988-1-christoffer.dall@linaro.org \ --to=christoffer.dall@linaro.org \ --cc=agraf@suse.de \ --cc=kvm@vger.kernel.org \ --cc=kvmarm@lists.cs.columbia.edu \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=marc.zyngier@arm.com \ --cc=pbonzini@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.