On Wed, Apr 10, 2013 at 7:37 PM, Jonghwan Choi jhbird.c...@samsung.com wrote:
hyp_hvc vector offset should be 0x14 and hyp_svc vector offset should be
0x8.
Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com
---
arch/arm/kvm/interrupts.S |4 ++--
1 file changed, 2 insertions(+), 2
[...]
to give us some idea how much performance we would gain from each
approach? Thoughput should be completely unaffected anyway, since virtio
just coalesces kicks internally.
Latency is dominated by the scheduling latency.
This means virtio-net is not the best benchmark.
So
On Sun, Apr 7, 2013 at 12:41 AM, Michael S. Tsirkin m...@redhat.com wrote:
On Thu, Apr 04, 2013 at 04:32:01PM -0700, Christoffer Dall wrote:
[...]
to give us some idea how much performance we would gain from each
approach? Thoughput should be completely unaffected anyway, since
On Fri, Dec 28, 2012 at 5:01 PM, Linus Torvalds
torva...@linux-foundation.org wrote:
On Fri, Dec 28, 2012 at 9:07 AM, c.d...@virtualopensystems.com wrote:
From: Christoffer Dall cd...@cs.columbia.edu
Unfortunately with !CONFIG_PAGEFLAGS_EXTENDED, (!PageHead) is false, and
(PageHead) is true
On Tue, Dec 18, 2012 at 3:42 AM, Claudio Fontana
claudio.font...@huawei.com wrote:
Using __CPUINIT instead of __INIT puts the secondary CPU startup code
into the right section: it will not be freed in hotplug configurations,
allowing hot-add of cpus, while still getting freed in non-hotplug
On Tue, Oct 01, 2013 at 05:02:44PM -0500, Kim Phillips wrote:
On Tue, 1 Oct 2013 13:00:54 -0700
Greg Kroah-Hartman gre...@linuxfoundation.org wrote:
On Tue, Oct 01, 2013 at 01:38:31PM -0500, Kim Phillips wrote:
Hi,
Santosh and I are having a problem figuring out how to enable
On Tue, Oct 01, 2013 at 08:35:56PM -0600, Alex Williamson wrote:
On Wed, 2013-10-02 at 02:53 +0100, Christoffer Dall wrote:
On Tue, Oct 01, 2013 at 05:02:44PM -0500, Kim Phillips wrote:
On Tue, 1 Oct 2013 13:00:54 -0700
Greg Kroah-Hartman gre...@linuxfoundation.org wrote:
On Tue
On Wed, Oct 02, 2013 at 01:32:38PM -0500, Scott Wood wrote:
On Wed, 2013-10-02 at 13:25 -0500, Yoder Stuart-B08248 wrote:
-Original Message-
From: Christoffer Dall [mailto:christoffer.d...@linaro.org]
Sent: Wednesday, October 02, 2013 10:14 AM
To: Alex Williamson
Cc: Kim
On Wed, Oct 02, 2013 at 03:04:15PM -0500, Kim Phillips wrote:
On Wed, 2 Oct 2013 11:43:30 -0700
Christoffer Dall christoffer.d...@linaro.org wrote:
On Wed, Oct 02, 2013 at 01:32:38PM -0500, Scott Wood wrote:
On Wed, 2013-10-02 at 13:25 -0500, Yoder Stuart-B08248 wrote
On Wed, Oct 02, 2013 at 03:14:02PM -0500, Scott Wood wrote:
On Wed, 2013-10-02 at 11:43 -0700, Christoffer Dall wrote:
On Wed, Oct 02, 2013 at 01:32:38PM -0500, Scott Wood wrote:
On Wed, 2013-10-02 at 13:25 -0500, Yoder Stuart-B08248 wrote:
-Original Message-
From
On Wed, Oct 02, 2013 at 01:37:35PM -0700, gre...@linuxfoundation.org wrote:
On Wed, Oct 02, 2013 at 11:43:30AM -0700, Christoffer Dall wrote:
What's wrong with a non-vfio-specific flag that a driver can set, that
indicates that the driver is willing to try to bind to any device
On Wed, Oct 02, 2013 at 01:39:43PM -0700, gre...@linuxfoundation.org wrote:
On Wed, Oct 02, 2013 at 09:27:38PM +0100, Christoffer Dall wrote:
What you're suggesting would let users specify that
a serial driver should handle a NIC hardware, no? That sounds much much
worse to me
On Sat, Sep 14, 2013 at 02:10:55PM +0200, Andrew Jones wrote:
Drop the _ARM_ part of the name. We can then introduce a config option
like this to aarch64 and other arches using the same name - allowing
grep to show them all. Also update the help text to describe the option
more completely.
On Sat, Sep 14, 2013 at 02:10:56PM +0200, Andrew Jones wrote:
Take CONFIG_KVM_MAX_VCPUS from arm32, but set the default to 8.
Signed-off-by: Andrew Jones drjo...@redhat.com
---
arch/arm64/include/asm/kvm_host.h | 7 ++-
arch/arm64/kvm/Kconfig| 11 +++
2 files
On 16 October 2013 11:58, Marc Zyngier marc.zyng...@arm.com wrote:
On 16/10/13 19:51, Thierry Reding wrote:
Today's linux-next merge of the kvm-arm tree got conflicts in
arch/arm/kvm/reset.c
caused by commits e8c2d99 (KVM: ARM: Add support for Cortex-A7) and ac570e0
(ARM: kvm: rename
On 16 October 2013 12:04, Thierry Reding thierry.red...@gmail.com wrote:
On Wed, Oct 16, 2013 at 12:02:08PM -0700, Christoffer Dall wrote:
On 16 October 2013 11:58, Marc Zyngier marc.zyng...@arm.com wrote:
On 16/10/13 19:51, Thierry Reding wrote:
Today's linux-next merge of the kvm-arm tree
On 17 October 2013 07:55, Gleb Natapov g...@redhat.com wrote:
On Wed, Oct 16, 2013 at 12:02:08PM -0700, Christoffer Dall wrote:
On 16 October 2013 11:58, Marc Zyngier marc.zyng...@arm.com wrote:
On 16/10/13 19:51, Thierry Reding wrote:
Today's linux-next merge of the kvm-arm tree got
On Thu, Nov 14, 2013 at 10:42:31AM +0800, Chen Gang wrote:
For all uapi headers, need use _UAPI prefix for its guard macro
(which will be stripped by scripts/headers_installer.sh).
Additional completions:
- be sure that all endif need be appended related comment, also it
has and only
);
cpu_notifier_register_done();
Fix the kvm code in arm by using this latter form of callback registration.
Cc: Christoffer Dall christoffer.d...@linaro.org
Cc: Gleb Natapov g...@kernel.org
Cc: Russell King li...@arm.linux.org.uk
Cc: Ingo Molnar mi...@kernel.org
Cc: kvm
On Fri, Mar 14, 2014 at 11:13:29AM +0530, Srivatsa S. Bhat wrote:
On 03/13/2014 04:51 AM, Christoffer Dall wrote:
On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa S. Bhat wrote:
Subsystems that want to register CPU hotplug callbacks, as well as perform
initialization for the CPUs
On 18 March 2014 03:23, Srivatsa S. Bhat
srivatsa.b...@linux.vnet.ibm.com wrote:
On 03/15/2014 12:40 AM, Christoffer Dall wrote:
On Fri, Mar 14, 2014 at 11:13:29AM +0530, Srivatsa S. Bhat wrote:
On 03/13/2014 04:51 AM, Christoffer Dall wrote:
On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa
];
^
Signed-off-by: Arnd Bergmann a...@arndb.de
Cc: Marc Zyngier marc.zyng...@arm.com
Cc: Christoffer Dall cd...@cs.columbia.edu
Cc: Will Deacon will.dea...@arm.com
---
arch/arm/kvm/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/kvm/Kconfig b/arch
On Tue, Apr 23, 2013 at 10:29 AM, Christoffer Dall
cd...@cs.columbia.edu wrote:
On Tue, Apr 23, 2013 at 9:30 AM, Arnd Bergmann a...@arndb.de wrote:
The CONFIG_KVM_ARM_MAX_VCPUS symbol is needed in order to build the
kernel/context_tracking.c code, which includes the vgic data structures
On Tue, Sep 24, 2013 at 04:09:28PM +0200, Andrew Jones wrote:
Drop the _ARM_ part of the name. We can then introduce a config option
like this to aarch64 and other arches using the same name - allowing
grep to show them all. Also update the help text to describe the option
more completely.
On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote:
This patch enables irqfd and irq routing on ARM.
It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING
irqfd framework enables to assign physical IRQs to guests.
1) user-side uses KVM_IRQFD VM ioctl to pass KVM a
On Mon, Jun 02, 2014 at 04:42:36PM +0200, Eric Auger wrote:
On 06/02/2014 03:54 PM, Marc Zyngier wrote:
Hi Eric,
On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger eric.au...@linaro.org
wrote:
[...]
@@ -408,11 +411,27 @@ static bool handle_mmio_clear_pending_reg(struct
kvm_vcpu
, this looks pretty straight forward:
Acked-by: Christoffer Dall christoffer.d...@linaro.org
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote:
On 06/05/2014 12:28 PM, Christoffer Dall wrote:
On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote:
This patch enables irqfd and irq routing on ARM.
It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING
On Thu, Jun 05, 2014 at 05:58:02PM +0200, Eric Auger wrote:
On 06/05/2014 04:39 PM, Christoffer Dall wrote:
On Thu, Jun 05, 2014 at 03:15:15PM +0200, Eric Auger wrote:
On 06/05/2014 12:28 PM, Christoffer Dall wrote:
On Mon, Jun 02, 2014 at 09:29:56AM +0200, Eric Auger wrote:
This patch
On Fri, Jun 06, 2014 at 11:10:23AM +0200, Eric Auger wrote:
Currently when a KVM region is deleted or moved after
KVM_SET_USER_MEMORY_REGION ioctl, the corresponding
intermediate physical memory is not unmapped.
This patch corrects this and unmaps the region's IPA range
in
On Mon, Jun 02, 2014 at 02:54:12PM +0100, Marc Zyngier wrote:
Hi Eric,
On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger eric.au...@linaro.org
wrote:
This patch enables irqfd and irq routing on ARM.
It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING
irqfd
On Thu, Jun 05, 2014 at 12:37:36PM +0200, Christoffer Dall wrote:
On Mon, Jun 02, 2014 at 04:42:36PM +0200, Eric Auger wrote:
On 06/02/2014 03:54 PM, Marc Zyngier wrote:
Hi Eric,
On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger
eric.au...@linaro.org wrote
On Thu, Jun 05, 2014 at 07:03:22PM +0200, Antonios Motakis wrote:
This patch allows to set an eventfd for a patform device's interrupt,
and also to trigger the interrupt eventfd from userspace for testing.
Signed-off-by: Antonios Motakis a.mota...@virtualopensystems.com
---
On Thu, Jun 05, 2014 at 07:03:23PM +0200, Antonios Motakis wrote:
Adds support to mask interrupts, and also for automasked interrupts.
Level sensitive interrupts are exposed as automasked interrupts and
are masked and disabled automatically when they fire.
Signed-off-by: Antonios Motakis
On Thu, Jun 05, 2014 at 07:03:12PM +0200, Antonios Motakis wrote:
With an ARM SMMU, interrupt remapping should always be safe from the
SMMU's point of view, as it is properly handled by the GIC.
Signed-off-by: Antonios Motakis a.mota...@virtualopensystems.com
---
drivers/iommu/arm-smmu.c |
On Wed, May 07, 2014 at 01:22:50PM +0900, Jungseok Lee wrote:
On Tuesday, May 06, 2014 7:49 PM, Christoffer Dall wrote:
On Thu, May 01, 2014 at 11:34:16AM +0900, Jungseok Lee wrote:
This patch implements 4 levels of translation tables since 3 levels of
page tables with 4KB pages cannot
On Wed, May 07, 2014 at 10:00:21AM +0100, Marc Zyngier wrote:
Kim, Christoffer,
On Tue, May 06 2014 at 7:04:48 pm BST, Christoffer Dall
christoffer.d...@linaro.org wrote:
On Tue, Mar 25, 2014 at 05:08:14PM -0500, Kim Phillips wrote:
Use the correct memory type for device MMIO mappings
Zyngier marc.zyng...@arm.com
Cc: Christoffer Dall christoffer.d...@linaro.org
Signed-off-by: Jungseok Lee jays@samsung.com
Reviewed-by: Sungjinn Chung sungjinn.ch...@samsung.com
---
arch/arm/kvm/arm.c | 82
+-
arch/arm64/include/asm
On Tue, May 27, 2014 at 03:53:49PM +0200, Christoffer Dall wrote:
On Mon, May 12, 2014 at 06:40:54PM +0900, Jungseok Lee wrote:
This patch sets TCR_EL2.PS, VTCR_EL2.T0SZ and vttbr_baddr_mask in runtime,
not compile time.
In ARMv8, EL2 physical address size (TCR_EL2.PS) and stage2 input
marc.zyng...@arm.com
Cc: Christoffer Dall christoffer.d...@linaro.org
Signed-off-by: Jungseok Lee jays@samsung.com
Reviewed-by: Sungjinn Chung sungjinn.ch...@samsung.com
Acked-by: Kukjin Kim kgene@samsung.com
I'm going to hold off giving this a final review until we have that
previous
steve.cap...@linaro.org
Signed-off-by: Jungseok Lee jays@samsung.com
Reviewed-by: Sungjinn Chung sungjinn.ch...@samsung.com
Acked-by: Kukjin Kim kgene@samsung.com
---
Looks reasonable to me:
Acked-by: Christoffer Dall christoffer.d...@linaro.org
--
To unsubscribe from this list: send
On Mon, Jun 02, 2014 at 05:11:39PM +0900, Jungseok Lee wrote:
On Tuesday, May 27, 2014 11:03 PM, Christoffer Dall wrote:
On Tue, May 27, 2014 at 03:53:49PM +0200, Christoffer Dall wrote:
On Mon, May 12, 2014 at 06:40:54PM +0900, Jungseok Lee wrote:
This patch sets TCR_EL2.PS, VTCR_EL2
On Thu, Jan 30, 2014 at 04:11:02PM +, Ian Campbell wrote:
mach-virt has existed for a while but it is not written down what it actually
consists of. Although it seems a bit unusual to document a binding for an
entire platform since mach-virt is entirely virtual it is helpful to have
On Thu, Jan 30, 2014 at 11:54:46AM -0500, Christopher Covington wrote:
Hi Ian,
On 01/30/2014 11:11 AM, Ian Campbell wrote:
mach-virt has existed for a while but it is not written down what it
actually
consists of. Although it seems a bit unusual to document a binding for an
entire
On Mon, Feb 03, 2014 at 08:46:07AM -0500, Christopher Covington wrote:
Hi Christoffer,
On 02/02/2014 11:56 PM, Christoffer Dall wrote:
On Thu, Jan 30, 2014 at 11:54:46AM -0500, Christopher Covington wrote:
I think it would be informative to provide pointers here to commonly used
On Thu, Mar 13, 2014 at 04:57:26PM +0100, Antonios Motakis wrote:
On an unhandled IO memory abort, use the kvm_io_bus_* API in order to
handle the MMIO access through any registered read/write callbacks. This
is a dependency for eventfd support (ioeventfd and irqfd).
However, accesses to the
;
--
1.8.5.3
This looks right to me. Funnily enough I seem to remember a discussion
from when we originally merged this code where someone (maybe me) argued
that kmalloc() would align to the size of the allocation, but I don't
see anything backing this up at this point.
So:
Acked-by: Christoffer
On Fri, Mar 28, 2014 at 02:19:23PM -0500, Rob Herring wrote:
On Fri, Mar 28, 2014 at 1:56 PM, Olof Johansson o...@lixom.net wrote:
On Fri, Mar 28, 2014 at 09:08:00AM -0700, Grant Likely wrote:
Hi all,
This is a series that I've been playing with over the last few days to
clean up the
On Thu, May 01, 2014 at 11:34:05AM +0900, Jungseok Lee wrote:
This patch adds memory layout and translation lookup information
about 48-bit address space with 4K pages. The description is based
on 4 levels of translation tables.
Cc: Catalin Marinas catalin.mari...@arm.com
Cc: Steve Capper
CONFIG_ARM64_64K_PAGES
+#ifndef CONFIG_ARM64_2_LEVELS
static inline void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmdp,
unsigned long addr)
{
--
1.7.10.4
Otherwise looks good,
Reviewed-by: Christoffer Dall christoffer.d...@linaro.org
--
To unsubscribe
On Fri, May 02, 2014 at 10:57:09AM +0900, Jungseok Lee wrote:
On Thursday, May 01, 2014 7:06 PM, Christoffer Dall wrote:
On Thu, May 01, 2014 at 11:33:56AM +0900, Jungseok Lee wrote:
[...]
+
+choice
+ prompt Virtual address space size
+ default ARM64_VA_BITS_39 if ARM64_4K_PAGES
)(x)
+
+#define __pte(x) (x)
+#define __pmd(x) (x)
+#define __pud(x) (x)
+#define __pgd(x) (x)
+#define __pgprot(x) (x)
+
+#endif /* STRICT_MM_TYPECHECKS */
+
+#endif /* __ASM_PGTABLE_4LEVEL_TYPES_H */
--
1.7.10.4
Reviewed-by: Christoffer Dall christoffer.d
);
/* map all the memory banks */
--
1.7.10.4
Reviewed-by: Christoffer Dall christoffer.d...@linaro.org
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
) 4KB + 3 levels guest on 64KB + 2 levels host
8) 4KB + 4 levels guest on 64KB + 2 levels host
9) 64KB + 2 levels guest on 64KB + 2 levels host
Cc: Marc Zyngier marc.zyng...@arm.com
Cc: Christoffer Dall christoffer.d...@linaro.org
Signed-off-by: Jungseok Lee jays@samsung.com
Reviewed
);
}
--
1.9.1
I think this looks reasonable.
Acked-by: Christoffer Dall christoffer.d...@linaro.org
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
On 3 April 2014 08:26, Marc Zyngier marc.zyng...@arm.com wrote:
Hi Eric,
On 03/04/14 16:17, Eric Auger wrote:
Currently when a KVM region is removed using
kvm_vm_ioctl_set_memory_region (with memory region size equal to 0), the
corresponding intermediate physical memory is not unmapped.
On Tue, Apr 01, 2014 at 11:15:40AM -0600, Alex Williamson wrote:
On Tue, 2014-04-01 at 09:47 -0700, Greg KH wrote:
On Tue, Apr 01, 2014 at 10:28:54AM -0600, Alex Williamson wrote:
The driver_override field allows us to specify the driver for a device
rather than relying on the driver to
.
During early development, we found the PAGE_S2 memory type being used
for MMIO mappings. This patch corrects that by using the more strongly
ordered memory type for device MMIO mappings: PAGE_S2_DEVICE.
Signed-off-by: Kim Phillips kim.phill...@linaro.org
Acked-by: Christoffer Dall
re-jigged the kvm_arm_timer_set/get_reg declarations to
be in the common include/kvm/arm_arch_timer.h headers.
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Reviewed-by: Christoffer Dall christoffer.d...@linaro.org
--
To unsubscribe from this list: send the line unsubscribe linux-kernel
-EINVAL and hilarity ensues.
The kvm/api.txt document describes all arm64 registers as starting with
0x60xx... (i.e KVM_REG_ARM64).
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Acked-by: Christoffer Dall christoffer.d...@linaro.org
---
arch/arm64/kvm/sys_regs.c | 2 +-
1 file
On Thu, Jul 24, 2014 at 02:19:14PM -0700, Randy Dunlap wrote:
On 07/24/2014 02:16 PM, Naresh Bhat wrote:
On 24 July 2014 18:30, Hanjun Guo hanjun@linaro.org
mailto:hanjun@linaro.org wrote:
From: Graeme Gregory graeme.greg...@linaro.org
mailto:graeme.greg...@linaro.org
On Thu, Jul 24, 2014 at 09:00:25PM +0800, Hanjun Guo wrote:
From: Graeme Gregory graeme.greg...@linaro.org
Add documentation for the guidelines of how to use ACPI
on ARM64.
Signed-off-by: Graeme Gregory graeme.greg...@linaro.org
Signed-off-by: Hanjun Guo hanjun@linaro.org
---
On Thu, Jul 31, 2014 at 01:15:40PM +0100, Marc Zyngier wrote:
On Thu, Jul 31 2014 at 12:53:03 pm BST, Christoffer Dall
christofferd...@christofferdall.dk wrote:
Hi Christoffer,
On Thu, Jul 31, 2014 at 8:30 AM, Stephen Rothwell s...@canb.auug.org.au
wrote:
Hi all
On Wed, Jul 09, 2014 at 02:55:12PM +0100, Alex Bennée wrote:
To cleanly restore an SMP VM we need to ensure that the current pause
state of each vcpu is correctly recorded. Things could get confused if
the CPU starts running after migration restore completes when it was
paused before it state
On Thu, Jul 31, 2014 at 04:14:51PM +0100, Alex Bennée wrote:
Christoffer Dall writes:
On Wed, Jul 09, 2014 at 02:55:12PM +0100, Alex Bennée wrote:
To cleanly restore an SMP VM we need to ensure that the current pause
state of each vcpu is correctly recorded. Things could get confused
On Thu, Jul 31, 2014 at 05:45:28PM +0100, Peter Maydell wrote:
On 31 July 2014 17:38, Christoffer Dall christoffer.d...@linaro.org wrote:
If we are not complaining when setting the pause value to false if it
was true before, then we probably also need to wake up the thread in
case
On Fri, Aug 01, 2014 at 10:48:36AM +0100, Alex Bennée wrote:
Christoffer Dall writes:
On Thu, Jul 31, 2014 at 05:45:28PM +0100, Peter Maydell wrote:
On 31 July 2014 17:38, Christoffer Dall christoffer.d...@linaro.org
wrote:
If we are not complaining when setting the pause value
On Fri, Aug 01, 2014 at 10:11:52AM +0100, Alex Bennée wrote:
Christoffer Dall writes:
On Thu, Jul 31, 2014 at 04:14:51PM +0100, Alex Bennée wrote:
Christoffer Dall writes:
On Wed, Jul 09, 2014 at 02:55:12PM +0100, Alex Bennée wrote:
To cleanly restore an SMP VM we need
On Thu, Jul 31, 2014 at 07:21:44PM +0200, Paolo Bonzini wrote:
Il 31/07/2014 19:04, Peter Maydell ha scritto:
On 31 July 2014 17:57, Paolo Bonzini pbonz...@redhat.com wrote:
Il 09/07/2014 15:55, Alex Bennée ha scritto:
To cleanly restore an SMP VM we need to ensure that the current pause
On Mon, Aug 04, 2014 at 02:08:22PM +0200, Eric Auger wrote:
This patch enables irqfd on ARM.
irqfd framework enables to inject a virtual IRQ into a guest upon an
eventfd trigger. User-side uses KVM_IRQFD VM ioctl to provide KVM with
a kvm_irqfd struct that associates a VM, an eventfd, an IRQ
On Wed, Jun 25, 2014 at 10:28:45AM +0100, Marc Zyngier wrote:
Now that we've switched to EOImode == 1, prevent a forwarded interrupt
from being deactivated after its priority has been dropped.
Also add support for the interrupt state to be saved/restored.
Signed-off-by: Marc Zyngier
On Wed, Jun 25, 2014 at 03:06:33PM +0100, Peter Maydell wrote:
On 25 June 2014 10:28, Marc Zyngier marc.zyng...@arm.com wrote:
For this case, the GIC architecture provides EOImode == 1, where:
- A write to the EOI register drops the priority of the interrupt and leaves
it active. Other
On Thu, Aug 07, 2014 at 05:47:53PM +0200, Eric Auger wrote:
On 08/04/2014 03:13 PM, Marc Zyngier wrote:
On Sun, Aug 03 2014 at 10:48:52 am BST, Eric Auger eric.au...@linaro.org
wrote:
On 06/25/2014 11:28 AM, Marc Zyngier wrote:
In order to be able to feed physical interrupts to a guest,
On Tue, Aug 19, 2014 at 10:53:16AM +0200, Eric Auger wrote:
On 08/13/2014 04:55 PM, Christoffer Dall wrote:
On Mon, Aug 04, 2014 at 02:08:22PM +0200, Eric Auger wrote:
This patch enables irqfd on ARM.
irqfd framework enables to inject a virtual IRQ into a guest upon an
eventfd trigger
was not removed from arch/mips/kvm/mips.c
2df72e9bc KVM: split kvm_arch_flush_shadow
and kvm_arch_sched_in never made it into arch/ia64/kvm/kvm-ia64.c.
e790d9ef6 KVM: add kvm_arch_sched_in
Signed-off-by: Radim Krčmář rkrc...@redhat.com
For the arm/arm64 part:
Acked-by: Christoffer Dall
...@redhat.com
For the arm/arm64 part:
Acked-by: Christoffer Dall christoffer.d...@linaro.org
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
On Thu, Sep 11, 2014 at 12:14:10PM -0600, Alex Williamson wrote:
On Thu, 2014-09-11 at 19:10 +0200, Christoffer Dall wrote:
On Wed, Sep 10, 2014 at 11:05:49PM -0600, Alex Williamson wrote:
On Thu, 2014-09-11 at 05:10 +0200, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 02:52:47PM +0200
On Thu, Sep 11, 2014 at 08:17:49PM +0200, Eric Auger wrote:
On 09/11/2014 05:09 AM, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 02:52:40PM +0200, Eric Auger wrote:
Fix multiple injection of level sensitive forwarded IRQs.
With current code, the second injection fails since the state
On Tue, Sep 09, 2014 at 05:27:18PM +0100, Alex Bennée wrote:
In preparation for working on the ARM implementation I noticed the debug
interface was missing from the API document. I've pieced together the
expected behaviour from the code and commit messages written it up as
best I can.
On Thu, Sep 11, 2014 at 07:03:32PM +0200, Christoffer Dall wrote:
On Thu, Sep 11, 2014 at 10:14:13AM +0200, Eric Auger wrote:
On 09/11/2014 05:09 AM, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 10:53:04AM +0200, Eric Auger wrote:
This patch enables irqfd on ARM.
irqfd framework
On Tue, Sep 02, 2014 at 06:06:17PM +0200, Antonios Motakis wrote:
On Sun, Jun 8, 2014 at 12:17 PM, Christoffer Dall
christoffer.d...@linaro.org wrote:
On Thu, Jun 05, 2014 at 07:03:23PM +0200, Antonios Motakis wrote:
Adds support to mask interrupts, and also for automasked interrupts
On Mon, Sep 01, 2014 at 12:11:19PM +0200, Paolo Bonzini wrote:
Il 01/09/2014 10:36, Eric Auger ha scritto:
No more needed. irq.h would be void on ARM.
Signed-off-by: Eric Auger eric.au...@linaro.org
---
I don't think irq.h is needed anymore since Paul Mackerras' work. However
I
On Mon, Sep 01, 2014 at 02:52:40PM +0200, Eric Auger wrote:
Fix multiple injection of level sensitive forwarded IRQs.
With current code, the second injection fails since the state bitmaps
are not reset (process_maintenance is not called anymore).
New implementation consists in fully bypassing
On Mon, Sep 01, 2014 at 10:53:04AM +0200, Eric Auger wrote:
This patch enables irqfd on ARM.
irqfd framework enables to inject a virtual IRQ into a guest upon an
eventfd trigger. User-side uses KVM_IRQFD VM ioctl to provide KVM with
a kvm_irqfd struct that associates a VM, an eventfd, a
On Mon, Sep 01, 2014 at 02:52:44PM +0200, Eric Auger wrote:
add new device group commands:
- KVM_DEV_VFIO_DEVICE_FORWARD_IRQ and
KVM_DEV_VFIO_DEVICE_UNFORWARD_IRQ
which enable to turn forwarded IRQ mode on/off.
the kvm_arch_forwarded_irq struct embodies a forwarded IRQ
Signed-off-by:
On Mon, Sep 01, 2014 at 02:52:41PM +0200, Eric Auger wrote:
add a lock related to the rb tree manipulation. The rb tree can be
Ok, I can't hold myself back any longer. Please begin sentences with a
capital letter. You don't do this in French? :)
searched in one thread (irqfd handler for
On Mon, Sep 01, 2014 at 02:52:45PM +0200, Eric Auger wrote:
New functions are added to be called from ARM KVM-VFIO device.
This commit message seems somewhat random. This patch doesn't deal with
anything ARM specific, it introduces some generic functions that allows
users external to vfio
On Mon, Sep 01, 2014 at 02:52:46PM +0200, Eric Auger wrote:
add functions that implement the gateway to the extended
Capital letter when beginning a new sentence. Also the reference to
'the extended VFIO API' feels a bit weird. Can't you make your commit
message a little more descriptive of
On Mon, Sep 01, 2014 at 02:52:48PM +0200, Eric Auger wrote:
Enables forwarding control for ARM. By defining
__KVM_HAVE_ARCH_KVM_VFIO_FORWARD the patch enables
KVM_DEV_VFIO_DEVICE_FORWARD/UNFORWARD_IRQ command on ARM. As a
result it brings an optimized injection/completion handling for
On Mon, Sep 01, 2014 at 02:52:47PM +0200, Eric Auger wrote:
This patch introduces a new KVM_DEV_VFIO_DEVICE attribute.
This is a new control channel which enables KVM to cooperate with
viable VFIO devices.
The kvm-vfio device now holds a list of devices (kvm_vfio_device)
in addition to a
On Tue, Sep 02, 2014 at 03:05:41PM -0600, Alex Williamson wrote:
On Mon, 2014-09-01 at 14:52 +0200, Eric Auger wrote:
This RFC proposes an integration of ARM: Forwarding physical
interrupts to a guest VM (http://lwn.net/Articles/603514/) in
KVM.
It enables to transform a VFIO platform
On Mon, Sep 01, 2014 at 02:52:43PM +0200, Eric Auger wrote:
In case the IRQ is forwarded, the VFIO platform IRQ handler does not
need to disable the IRQ anymore. In that mode, when the handler completes
add a comma after completes
the IRQ is not deactivated but only its priority is lowered.
On Thu, Sep 11, 2014 at 10:14:13AM +0200, Eric Auger wrote:
On 09/11/2014 05:09 AM, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 10:53:04AM +0200, Eric Auger wrote:
This patch enables irqfd on ARM.
irqfd framework enables to inject a virtual IRQ into a guest upon an
eventfd trigger
On Thu, Sep 11, 2014 at 10:44:02AM +0200, Eric Auger wrote:
On 09/11/2014 05:10 AM, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 02:52:43PM +0200, Eric Auger wrote:
In case the IRQ is forwarded, the VFIO platform IRQ handler does not
need to disable the IRQ anymore. In that mode, when
On Thu, Sep 11, 2014 at 10:49:08AM +0200, Eric Auger wrote:
On 09/11/2014 05:10 AM, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 02:52:44PM +0200, Eric Auger wrote:
[...]
+
+It is up to the caller of this API to make sure the IRQ is not
+outstanding when the FORWARD/UNFORWARD
On Wed, Sep 10, 2014 at 11:05:49PM -0600, Alex Williamson wrote:
On Thu, 2014-09-11 at 05:10 +0200, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 02:52:47PM +0200, Eric Auger wrote:
[...]
+#ifdef __KVM_HAVE_ARCH_KVM_VFIO_FORWARD
+int kvm_arch_set_fwd_state(struct kvm_fwd_irq
On Thu, Sep 11, 2014 at 02:04:39PM +0200, Eric Auger wrote:
On 09/11/2014 07:05 AM, Alex Williamson wrote:
On Thu, 2014-09-11 at 05:10 +0200, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 02:52:47PM +0200, Eric Auger wrote:
This patch introduces a new KVM_DEV_VFIO_DEVICE attribute
On Thu, Sep 11, 2014 at 09:59:24AM -0600, Alex Williamson wrote:
On Thu, 2014-09-11 at 14:04 +0200, Eric Auger wrote:
On 09/11/2014 07:05 AM, Alex Williamson wrote:
On Thu, 2014-09-11 at 05:10 +0200, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 02:52:47PM +0200, Eric Auger wrote
On Thu, Sep 11, 2014 at 11:35:56AM +0200, Eric Auger wrote:
On 09/11/2014 05:10 AM, Christoffer Dall wrote:
On Mon, Sep 01, 2014 at 02:52:47PM +0200, Eric Auger wrote:
[...]
+ if (!pfwd)
+ return -ENOMEM;
+ pfwd-index = fwd_irq-index;
+ pfwd-gsi = fwd_irq-gsi;
+ pfwd
On Sun, Nov 23, 2014 at 06:56:57PM +0100, Eric Auger wrote:
This patch series enables irqfd on arm and arm64.
Irqfd framework enables to inject a virtual IRQ into a guest upon an
eventfd trigger. User-side uses KVM_IRQFD VM ioctl to provide KVM with
a kvm_irqfd struct that associates a VM,
1 - 100 of 1645 matches
Mail list logo