On Fri, May 15, 2015 at 4:58 PM, Ian Campbell wrote:
> On Wed, 2015-05-13 at 21:57 +0530, Vijay Kilari wrote:
>> > * On receipt of an interrupt notification arising from Xen's own use
>> > of `INT`; (see discussion under Completion)
>>
>> If INT not
On Fri, May 15, 2015 at 4:29 PM, Ian Campbell wrote:
> On Wed, 2015-05-13 at 15:26 +0100, Julien Grall wrote:
>> >>> on that vits;
>> >>> * On receipt of an interrupt notification arising from Xen's own use
>> >>> of `INT`; (see discussion under Completion)
>> >>> * On any interrupt injection
Hi Ian,
Few thoughts..
On Tue, May 12, 2015 at 8:32 PM, Ian Campbell wrote:
> On Tue, 2015-05-05 at 17:44 +0530, Vijay Kilari wrote:
>> Hi,
>>
>>As discussed, here is the design doc/txt.
>
> There seems to be no consideration of multiple guests or VCPUs all
&
On Mon, May 11, 2015 at 7:55 PM, Julien Grall wrote:
> On 11/05/15 15:25, Julien Grall wrote:
>> Hi Vijay,
>>
>> On 11/05/15 15:14, Vijay Kilari wrote:
>>> On Wed, Apr 1, 2015 at 5:10 PM, Ian Campbell
>>> wrote:
>>>> On Thu, 2015-03-19 at 20
On Wed, Apr 1, 2015 at 5:10 PM, Ian Campbell wrote:
> On Thu, 2015-03-19 at 20:07 +0530, vijay.kil...@gmail.com wrote:
>> From: Vijaya Kumar K
>>
>> Add helper functions to decode ITS command
>> This will be useful for Virtual ITS driver
>
> It depends slightly on the answer to the quesiton I ask
On Tue, May 5, 2015 at 7:39 PM, Julien Grall wrote:
> On 05/05/15 13:14, Vijay Kilari wrote:
>> Hi,
>>
>
> Hi Vijay,
>
>>As discussed, here is the design doc/txt.
>
> I will comment on the proposal 2 as it seems to be the preferred one
> assu
On Tue, May 5, 2015 at 7:21 PM, Stefano Stabellini
wrote:
> On Tue, 5 May 2015, Vijay Kilari wrote:
>> Proposal 2:
>>
>> Here when guest writes command to vITS queue and updates CWRITER registers,
>> it is trapped in XEN and below steps are foll
Hi,
As discussed, here is the design doc/txt.
ARM GICv3 provides ITS (Interrupt Translation Service) feature to handle
MSIx interrupts. Below are various mechanisms to handle
ITS commands.
ITS command completion detection mechanism:
---
On Tue, May 5, 2015 at 5:17 PM, Julien Grall wrote:
> On 05/05/15 12:06, Vijay Kilari wrote:
>>One MSI per domain is always consumed because each domain during
>> ITS initialization creates Virtual ITS and sends basic initialization
>> commands (MAPC)
>
> AFAICT, MA
On Tue, May 5, 2015 at 4:38 PM, Julien Grall wrote:
> On 05/05/15 11:28, Stefano Stabellini wrote:
>> On Mon, 4 May 2015, Julien Grall wrote:
>>> Hi Vijay,
>>>
>>> On 04/05/2015 16:19, Vijay Kilari wrote:
>>>>>>>> H
On Tue, May 5, 2015 at 3:58 PM, Stefano Stabellini
wrote:
> On Mon, 4 May 2015, Julien Grall wrote:
>> Hi Vijay,
>>
>> On 04/05/2015 16:19, Vijay Kilari wrote:
>> > > > > > How did you implement the interrupt mode? Could it be improve?
>> >
On Mon, May 4, 2015 at 7:24 PM, Julien Grall wrote:
>
>
> On 04/05/2015 14:44, Julien Grall wrote:
>>
>> Hi Vijay,
>>
>> On 04/05/2015 14:27, Vijay Kilari wrote:
>>>
>>> On Mon, May 4, 2015 at 6:34 PM, Julien Grall
>>> wrote:
On Mon, May 4, 2015 at 6:34 PM, Julien Grall wrote:
>
>
> On 04/05/2015 13:58, Vijay Kilari wrote:
>>
>> On Thu, Apr 30, 2015 at 7:59 PM, Julien Grall
>> wrote:
>>>
>>> Hi,
>>>
>>> On 30/04/15 14:47, Stefano Stabellini wrote:
>>
On Thu, Apr 30, 2015 at 7:59 PM, Julien Grall wrote:
> Hi,
>
> On 30/04/15 14:47, Stefano Stabellini wrote:
>
> If the devid is not within this range, the ITS won't recognize the value
> and
> won't be able to send the interrupt.
>
> So this is clearly not the right value.
On Thu, Apr 30, 2015 at 3:45 PM, Stefano Stabellini
wrote:
> On Thu, 30 Apr 2015, Julien Grall wrote:
>> Hi Stefano,
>>
>> On 30/04/2015 11:02, Stefano Stabellini wrote:
>> > On Wed, 29 Apr 2015, Julien Grall wrote:
>> > > On 29/04/15 17:30, Vijay Kilari
On Wed, Apr 29, 2015 at 9:56 PM, Vijay Kilari wrote:
> Hi Julien,
>
> On Wed, Apr 29, 2015 at 7:05 PM, Julien Grall wrote:
>> On 29/04/15 12:56, Julien Grall wrote:
>>> As the 2 suggested approach don't seem to fit our usage, we need to find
>>> another
Hi Julien,
On Wed, Apr 29, 2015 at 7:05 PM, Julien Grall wrote:
> On 29/04/15 12:56, Julien Grall wrote:
>> As the 2 suggested approach don't seem to fit our usage, we need to find
>> another approach.
>
> I think I have another approach which doesn't require interrupt neither
> polling in EL2.
On Tue, Apr 28, 2015 at 9:45 PM, Julien Grall wrote:
> Hi Vijay,
>
> On 28/04/15 12:36, Vijay Kilari wrote:
>> On Tue, Apr 28, 2015 at 4:05 PM, Julien Grall
>> wrote:
>>> If you properly manage the device with struct pci_dev or struct device
>>> (which is
On Tue, Apr 28, 2015 at 4:05 PM, Julien Grall wrote:
> Hi,
>
> On 28/04/15 10:56, Stefano Stabellini wrote:
>> On Tue, 28 Apr 2015, Vijay Kilari wrote:
>>> Approach 1: (Using completion interrupt)
>>>
>>> 1) Create dummy device for each v
On Thu, Apr 2, 2015 at 7:17 PM, Julien Grall wrote:
> Hi Ian,
>
> On 02/04/2015 12:18, Ian Campbell wrote:
>>
>> On Thu, 2015-04-02 at 12:06 +0100, Julien Grall wrote:
>>
Can we just enqueue with the hardware and use the guest vcpu polling
loop to trigger us to check for completion?
>>>
On Tue, Apr 14, 2015 at 6:42 PM, Ian Campbell wrote:
> On Mon, 2015-04-13 at 09:35 +0100, Jan Beulich wrote:
>> >>> On 02.04.15 at 12:01, wrote:
>> > On Thu, 2015-03-26 at 17:07 +, Jan Beulich wrote:
>> >> having been released mid January, it is time to get ready for 4.5.1-rc1.
>> >> Please r
On Thu, Apr 2, 2015 at 2:55 PM, Ian Campbell wrote:
> On Thu, 2015-04-02 at 13:55 +0530, Vijay Kilari wrote:
>> On Wed, Apr 1, 2015 at 5:04 PM, Ian Campbell wrote:
>> > On Thu, 2015-03-19 at 20:07 +0530, vijay.kil...@gmail.com wrote:
>> >> From: Vijaya Kumar K
>
On Wed, Apr 1, 2015 at 5:04 PM, Ian Campbell wrote:
> On Thu, 2015-03-19 at 20:07 +0530, vijay.kil...@gmail.com wrote:
>> From: Vijaya Kumar K
>>
>> This patch just makes ITS driver taken from linux
>> compiles in xen environment.
>
> What is your intention wrt future updates to this driver?
>
>
Hi Julien,
On Tue, Mar 24, 2015 at 5:18 PM, Julien Grall wrote:
> Hello Vijay,
>
> More questions/remarks about command processing.
>
> On 19/03/2015 14:38, vijay.kil...@gmail.com wrote:
>>
>> +int vgic_its_process_cmd(struct vcpu *v, struct vgic_its *vits)
>> +{
>> +struct its_cmd_block virt
Hi Julien,
On Fri, Mar 20, 2015 at 10:14 PM, Julien Grall wrote:
> Hello Vijay,
>
> On 19/03/2015 14:37, vijay.kil...@gmail.com wrote:
>>
>> diff --git a/xen/include/asm-arm/irq.h b/xen/include/asm-arm/irq.h
>> index 435dfcd..f091739 100644
>> --- a/xen/include/asm-arm/irq.h
>> +++ b/xen/include/
Hi Andrew,
On Wed, Mar 25, 2015 at 9:32 PM, Andrew Cooper
wrote:
> On 20/03/15 13:17, Vijay Kilari wrote:
>>
>> Hi Andrew,
>>
>> On Wed, Mar 11, 2015 at 4:21 PM, Andrew Cooper
>> wrote:
>>>
>>> On 11/03/15 05:32, Vijay Kilari wrote:
>&g
Hi,
Dom0 fails to boot with Xen with CONFIG_ARM64_64K_PAGES enabled because of
map_vcpu_info() make check of page offset based of PAGE_SIZE which is 4K in Xen.
Is this know issue that is fixed?. I am using 4.5 rc1 Xen code base.
Log below:
(XEN) DOM0: [0.173539] If your platform has any n
From: Vijaya Kumar K
On x86, for the pages mapped with PAGE_HYPERVISOR attribute
non-leaf page tables are allocated with valid pte entries.
and with MAP_SMALL_PAGES attribute only non-leaf page tables are
allocated with invalid (valid bit set to 0) pte entries.
However on arm this is not the case
On Mon, Mar 23, 2015 at 9:00 PM, Julien Grall wrote:
> On 23/03/15 15:18, Vijay Kilari wrote:
>>> The ITS still have to manage in someway the device. There is lots of
>>> information that doesn't need to be created at every mapd (such as the
>>> number of M
On Mon, Mar 23, 2015 at 6:41 PM, Julien Grall wrote:
> On 23/03/15 12:37, Vijay Kilari wrote:
>> On Fri, Mar 20, 2015 at 9:53 PM, Julien Grall
>> wrote:
>>> Hi Vijay,
>>>
>>> On 19/03/2015 14:37, vijay.kil...@gmail.com wrote:
>>>>
>&g
On Fri, Mar 20, 2015 at 9:53 PM, Julien Grall wrote:
> Hi Vijay,
>
> On 19/03/2015 14:37, vijay.kil...@gmail.com wrote:
>>
>> From: Vijaya Kumar K
>>
>> Add ITS support for arm. Following major features
>> are supported
>> - GICv3 ITS support for arm64 platform
>> - Supports multi ITS node
>>
Hi Julien,
On Fri, Mar 20, 2015 at 8:36 PM, Julien Grall wrote:
> Hello Vijay,
>
> On 19/03/2015 14:37, vijay.kil...@gmail.com wrote:
>>
>> static LIST_HEAD(its_nodes);
>> static DEFINE_SPINLOCK(its_lock);
>> -static struct device_node *gic_root_node;
>> -static struct rdists *gic_rdists;
>>
Hi Andrew,
On Wed, Mar 11, 2015 at 4:21 PM, Andrew Cooper
wrote:
> On 11/03/15 05:32, Vijay Kilari wrote:
>> Hi Andrew,
>>
>> From Ian & Stefano, I came to know that you have introduced
>> Migration framework v2
>> under below patch series
From: Vijaya Kumar K
Parse host dt and generate ITS node for Dom0.
ITS node resides inside GIC node so when GIC node
is encountered look for ITS node.
Signed-off-by: Vijaya Kumar K
---
v2: - Generate all available ITS node in host DT for Dom0
- its_node structure will hold pointer to ITS dt
From: Vijaya Kumar K
Generate ITS device tree node for DomU.
This patch generate ITS node outside the GICv3 node
for DomU.
Signed-off-by: Vijaya Kumar K
---
tools/libxl/libxl_arm.c | 36
xen/arch/arm/gic-v3-its.c |7 ++-
xen/include/publ
From: Vijaya Kumar K
This is actual GICv3 ITS driver from linux (4.0_rc4)
with latest commit id: 4559fbb3a9b1bde46afc739fa6c300826acdc19c
No xen related changes are made and is not compiled.
This helps to import any issues found in linux
Signed-off-by: Vijaya Kumar K
---
v2: Import GIC ITS dri
From: Vijaya Kumar K
Separate redistributor information into rdist and rdist_prop
structures.
The rdist_prop holds the redistributor common information
and rdist holds the per cpu specific information.
This percpu rdist defined as global and shared with ITS
driver
Signed-off-by: Vijaya Kumar K
From: Vijaya Kumar K
Add support for emulating GITS_* registers
Signed-off-by: Vijaya Kumar K
---
v2: - Each Virtual ITS is attached to Physical ITS.
- Introduce helper function to lock and unlock
virtual ITS lock.
- Introduced helper to get virtual ITS structure pointer
bas
From: Vijaya Kumar K
Intialize physical ITS driver and virtual ITS driver
based on HW support information available in GICD_TYPER
register.
Based on outcome of lpi_supported() and gic_nr_id_bits()
functions ITS driver is initialized
Signed-off-by: Vijaya Kumar K
---
v2: Multi-ITS support
---
From: Vijaya Kumar K
ITS translation space contains GITS_TRANSLATOR
register which is written by device to raise
LPI. This space needs to mapped to every domain
address space for all physical ITS available,
so that device can access GITS_TRANSLATOR
register using SMMU.
Signed-off-by: Vijaya Kuma
From: Vijaya Kumar K
Add support for handling ITS(LPI) interrupts.
The LPI interrupts are handled by physical ITS
driver.
nested LPI interrupt handling is not tested and
enabled.
Signed-off-by: Vijaya Kumar K
---
v2: - Removed interrupt handler in ITS driver and
reused existing interrupt
From: Vijaya Kumar K
Number of LPIs supported by GICv3 is huge. Boot time
allocation of irq descriptors and pending_irq descritors
is not viable.
With this patch, allocate irq/pending_irq descritors for
LPIs on-demand and manage using radix tree
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/
From: Vijaya Kumar K
The its_device structure can be reused in virtual ITS
driver. So move this to gic-its.h file
Also the physical LPI allocation code of physical ITS
driver is used.
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/gic-v3-its.c | 16
xen/include/asm-arm/
From: Vijaya Kumar K
This patch just makes ITS driver taken from linux
compiles in xen environment.
The following changes are done
- memory allocation apis are changed
- raw spin lock api's changed to normal spin lock api's
- debug prints changed to xen debug prints
- remove msi chip fun
From: Vijaya Kumar K
Add missing linked list apis from kernel
Signed-off-by: Vijaya Kumar K
CC: Jan Beulich
---
v2: Add additional linked apis like list_last_entry_or_null,
list_next_entry and list_prev_entry
---
xen/include/xen/list.h | 60 ++
From: Vijaya Kumar K
Given the physical address of the page, get
the maddr to map in Xen to access domain's memory.
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/p2m.c| 24
xen/include/asm-arm/p2m.h |3 +++
2 files changed, 27 insertions(+)
diff --git a
From: Vijaya Kumar K
Introduce new fields in arch_irq_desc for to hold
virtual irq number and pointer to its device.
Also introduced helper function to read and update
device pointer in arch_irq_desc
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/irq.c| 26 ++
From: Vijaya Kumar K
With this patch add emulation of GICR registers for LPIs.
Also add LPI property table emulation.
Domain's LPI property table is unmapped during domain init
on LPIPROPBASE update and trapped on LPI property
table read and write
Signed-off-by: Vijaya Kumar K
---
xen/arch/ar
From: Vijaya Kumar K
bitmap_find_next_zero_area helper function will be used
by physical ITS driver imported from linux
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/arm64/lib/find_next_bit.c | 39
xen/include/asm-arm/arm64/bitops.h | 15
From: Vijaya Kumar K
Add Virtual ITS command processing support to
Virtual ITS driver. Also add API's to in physical
ITS driver to send commands from Virtual ITS driver.
In this patch, following are done
-Physical ITS driver will allocate physical LPI for
virtual LPI request.
- The Device ID
From: Vijaya Kumar K
This patch implements hw_irq_controller api's required
to handle LPI's.
Signed-off-by: Vijaya Kumar K
---
v2: - Reused hw_irq_controller ops of gicv3 for LPIs
---
xen/arch/arm/gic-v3-its.c | 103 ++---
xen/arch/arm/gic-v3.c
From: Vijaya Kumar K
ITS command encode functions are moved to
header file gits-its.h and made as inline functions.
This will be useful later in virtual its driver
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/gic-v3-its.c | 71 +---
xen/include/asm-arm/gic-its.h
From: Vijaya Kumar K
ITS driver does not require functionality to
create/free device. This will be handled by virtual
ITS driver.
The functionality of ITS driver will be limited to
initialization, physical lpi allocation,
sending ITS commands received from Virtual ITS driver
and ITS interrupt ha
From: Vijaya Kumar K
Add helper functions to decode ITS command
This will be useful for Virtual ITS driver
Signed-off-by: Vijaya Kumar K
---
xen/include/asm-arm/gic-its.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/xen/include/asm-arm/gic-it
From: Vijaya Kumar K
Add ITS support for arm. Following major features
are supported
- GICv3 ITS support for arm64 platform
- Supports multi ITS node
- LPI descriptors are allocated on-demand
- Only ITS Dom0 is supported
Tested with single ITS node.
Major changes in v2:
- Added Multi ITS s
From: Vijaya Kumar K
Use newly introduced linked list helper functions in
page_list* functions
Signed-off-by: Vijaya Kumar K
CC: Jan Beulich
---
xen/include/xen/mm.h | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/xen/include/xen/mm.h b/xen/include/xen/mm.h
in
Hi Ian,
On Thu, Mar 5, 2015 at 10:40 PM, Ian Campbell wrote:
> On Thu, 2015-03-05 at 16:46 +, Ian Campbell wrote:
>> On Wed, 2015-03-04 at 11:36 +0530, vijay.kil...@gmail.com wrote:
>> > From: Vijaya Kumar K
>> >
>> > Add GSER region to thunderx platfrom specific mappings.
>> > This region i
On Mon, Mar 16, 2015 at 7:50 PM, Julien Grall wrote:
> On 16/03/15 14:06, Vijay Kilari wrote:
>>>> @@ -343,17 +357,23 @@ static int its_queue_full(struct its_node *its)
>>>> static struct its_cmd_block *its_allocate_entry(struct its_node *its)
>>>>
Hi Julien,
On Fri, Mar 13, 2015 at 5:16 PM, Julien Grall wrote:
> Hello Vijay,
>
> On 02/03/2015 12:30, vijay.kil...@gmail.com wrote:
>>
>> @@ -228,10 +242,10 @@ static struct its_collection
>> *its_build_mapd_cmd(struct its_cmd_block *cmd,
>>st
On Mon, Mar 16, 2015 at 6:45 PM, Julien Grall wrote:
> Hi Vijay,
>
> On 16/03/15 09:55, Vijay Kilari wrote:
>> On Fri, Mar 13, 2015 at 4:05 PM, Julien Grall
>> wrote:
>>>
>>>
>>> On 13/03/2015 10:24, Julien Grall wrote:
>>>>
On Fri, Mar 13, 2015 at 3:43 PM, Julien Grall wrote:
> Hi Vijay,
>
> On 13/03/2015 04:48, Vijay Kilari wrote:
>>
>> The changes that I envisage for supporting Multiple ITS is
>>- Generate as many number of ITS dt nodes for Dom0 that host DT
>> contains.
>
On Fri, Mar 13, 2015 at 4:05 PM, Julien Grall wrote:
>
>
> On 13/03/2015 10:24, Julien Grall wrote:
>>
>> Hello Vijay,
>>
>> On 02/03/2015 12:30, vijay.kil...@gmail.com wrote:
>>>
>>> From: Vijaya Kumar K
>>>
>>> This is actual GICv3 ITS driver from linux.
>>> No xen related changes are made and
Hi Julien,
On Mon, Mar 9, 2015 at 11:46 PM, Julien Grall wrote:
> Hello Vijay,
>
> On 09/03/2015 14:57, Vijay Kilari wrote:
>>
>> On Tue, Mar 3, 2015 at 5:13 PM, Julien Grall
>> wrote:
>>>
>>> Hello Vijay,
>>>
>>> On 03/03/2015 03:
Hi Andrew,
From Ian & Stefano, I came to know that you have introduced
Migration framework v2
under below patch series
http://marc.info/?l=xen-devel&m=141036915311145
I have few queries:
1) Is there any plans/timeline to support for ARM32/ARM64?.
2) Also does the Domain Image format specifi
On Tue, Mar 10, 2015 at 5:22 PM, Ian Campbell wrote:
> On Tue, 2015-03-10 at 11:45 +, Julien Grall wrote:
>> On 09/03/15 16:08, Vijay Kilari wrote:
>> > On Mon, Mar 9, 2015 at 5:46 PM, Julien Grall
>> > wrote:
>> >> Hi Vijay,
>> >>
>&g
On Mon, Mar 9, 2015 at 9:39 PM, Stefano Stabellini
wrote:
> On Mon, 9 Mar 2015, Vijay Kilari wrote:
>> On Tue, Mar 3, 2015 at 10:58 PM, Stefano Stabellini
>> wrote:
>> > On Mon, 2 Mar 2015, vijay.kil...@gmail.com wrote:
>> >> From: Vijaya Kumar
On Mon, Mar 9, 2015 at 5:46 PM, Julien Grall wrote:
> Hi Vijay,
>
> Given the introduction of the new helper, the title looks wrong to me.
>
>
> On 09/03/2015 08:59, vijay.kil...@gmail.com wrote:
>>
>> diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c
>> index 7d4ba0c..e0be36b 100644
>> --- a/xen
On Tue, Mar 3, 2015 at 10:58 PM, Stefano Stabellini
wrote:
> On Mon, 2 Mar 2015, vijay.kil...@gmail.com wrote:
>> From: Vijaya Kumar K
>>
>> This patch implements hw_irq_controller api's required
>> to handle LPI's.
>>
>> Signed-off-by: Vijaya Kumar K
>> ---
>> xen/arch/arm/gic-v3-its.c | 104
On Tue, Mar 3, 2015 at 5:13 PM, Julien Grall wrote:
> Hello Vijay,
>
> On 03/03/2015 03:55, Vijay Kilari wrote:
>>
>> On Mon, Mar 2, 2015 at 6:49 PM, Julien Grall
>> wrote:
>>>
>>> On 02/03/15 12:30, vijay.kil...@gmail.com wrote:
>>>>
>
From: Vijaya Kumar K
On x86, for the pages mapped with PAGE_HYPERVISOR attribute
non-leaf page tables are allocated with valid pte entries.
and with MAP_SMALL_PAGES attribute only non-leaf page tables are
allocated with invalid (valid bit set to 0) pte entries.
However on arm this is not the case
From: Vijaya Kumar K
On x86, for the pages mapped with PAGE_HYPERVISOR attribute
non-leaf page tables are allocated with valid pte entries.
and with MAP_SMALL_PAGES attribute only non-leaf page tables are
allocated with invalid (valid bit set to 0) pte entries.
However on arm this is not the case
From: Vijaya Kumar K
Add basic support for Cavium ThunderX platform
Signed-off-by: Vijaya Kumar K
---
v3 changes:
- Made Thunderx specific mappings as separate patch
- Improved printk error message
v2 changes:
- Update processor_implementers[]
---
xen/arch/arm/platforms/Makefile |1 +
From: Vijaya Kumar K
Add GSER region to thunderx platfrom specific mappings.
This region is not mentioned in DT. This is required by
PCI driver to detect and configure pci devices attached.
In future we can remove this mapping, if pci driver
in Dom does not require this.
Signed-off-by: Vijaya K
From: Vijaya Kumar K
Changes in v3:
- Made ThunderX GSER region mapping as separate patch
- Updated patch 3 commit message
Changes in v2:
- Updated patch 3 commit message
- Updated processor_implementers[] with implementor info
in xen/arch/arm/setup.c
Changes in v1:
- Add support for Th
From: Vijaya Kumar K
ThunderX platform uses pl011 uart.
Signed-off-by: Vijaya Kumar K
Acked-by: Ian Campbell
---
xen/arch/arm/Rules.mk |4
1 file changed, 4 insertions(+)
diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk
index c7bd227..54efa91 100644
--- a/xen/arch/arm/Rule
From: Vijaya Kumar K
psci node is generated by xen for dom0.
if the host device tree has psci-0.2 skip parsing this node
and avoid copying from host device tree to dom0 device tree.
Signed-off-by: Vijaya Kumar K
Acked-by: Ian Campbell
---
v3 changes:
- Updated commit message
---
xen/arch/arm
On Tue, Mar 3, 2015 at 2:33 PM, Ian Campbell wrote:
> On Tue, 2015-03-03 at 10:39 +0530, Vijay Kilari wrote:
>> On Mon, Feb 23, 2015 at 11:21 PM, Ian Campbell
>> wrote:
>> > On Wed, 2015-02-18 at 12:38 +, Julien Grall wrote:
>> >> > +uint64_t addr,
On Tue, Feb 24, 2015 at 6:29 PM, Julien Grall wrote:
> On 24/02/15 10:26, Ian Campbell wrote:
>> On Tue, 2015-02-24 at 09:38 +, Julien Grall wrote:
>>> Hi Ian,
>>>
>>> On 24/02/2015 09:31, Ian Campbell wrote:
On Wed, 2015-02-18 at 13:03 +, Julien Grall wrote:
>> +{
On Mon, Feb 23, 2015 at 11:21 PM, Ian Campbell wrote:
> On Wed, 2015-02-18 at 12:38 +, Julien Grall wrote:
>> > +uint64_t addr, size;
>
> Please use paddr_t and PRIpaddr etc.
>
>> > +res = map_mmio_regions(d,
>> > + paddr_to_pfn(addr & PAGE_MASK),
>> > +
Hi Ian,
On Mon, Mar 2, 2015 at 11:09 PM, Ian Campbell wrote:
> Forgot one series (albeit of a single patch):
>
> On Mon, 2015-03-02 at 14:53 +, Ian Campbell wrote:
>> There's quite a few series out there right now from you guys, with quite
>> a number of patches in each, so I think we need to
Hi Julien,
On Mon, Mar 2, 2015 at 6:49 PM, Julien Grall wrote:
> Hi Vijay,
>
> On 02/03/15 12:30, vijay.kil...@gmail.com wrote:
>> From: Vijaya Kumar K
>>
>> Add ITS support for arm. Following major features
>> are supported
>> - GICv3 ITS support for arm64 platform
>> - Supports only single I
From: Vijaya Kumar K
Intialize physical ITS driver and virtual ITS driver
based on HW support information available in GICD_TYPER
register.
Based on outcome of lpi_supported() and gic_nr_id_bits()
functions ITS driver is initialized
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/gic-v3-its.c
From: Vijaya Kumar K
Parse host dt and generate ITS node for Dom0.
ITS node resides inside GIC node so when GIC node
is encountered look for ITS node.
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/domain_build.c | 59 -
xen/arch/arm/gic-v3-its.c
From: Vijaya Kumar K
Add support for handling ITS(LPI) interrupts.
The LPI interrupts are handled by physical ITS
driver.
nested LPI interrupt handling is not tested and
enabled.
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/gic-v3-its.c | 31 +++
xen/arch/arm/
From: Vijaya Kumar K
Separate redistributor information into rdist and rdist_prop
structures.
The rdist_prop holds the redistributor common information
and rdist holds the per cpu specific information.
This percpu rdist defined as global and shared with ITS
driver
Signed-off-by: Vijaya Kumar K
From: Vijaya Kumar K
Number of LPIs supported by GICv3 is huge. Boot time
allocation of irq descriptors and pending_irq descritors
is not viable.
With this patch, allocate irq/pending_irq descritors for
LPIs on-demand and manage using radix tree
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/
From: Vijaya Kumar K
This patch implements hw_irq_controller api's required
to handle LPI's.
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/gic-v3-its.c | 104 -
xen/arch/arm/gic.c| 11 +
xen/include/asm-arm/gic.h |8 +++-
3 files
From: Vijaya Kumar K
Add Virtual ITS command processing support to
Virtual ITS driver. Also add API's to in physical
ITS driver to send commands from Virtual ITS driver.
For now, this driver can handle one physical ITS node.
If platform has more than one physical ITS node, it
need changes at the
From: Vijaya Kumar K
Add support for emulating GITS_* registers
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/gic-v3-its.c |9 +
xen/arch/arm/vgic-v3-its.c| 369 -
xen/include/asm-arm/gic-its.h |2 +
3 files changed, 379 insertions(+),
From: Vijaya Kumar K
With this patch add emulation of GICR registers for LPIs.
Also add LPI property table emulation.
Domain's LPI property table is unmapped during domain init
on LPIPROPBASE update and trapped on LPI property
table read and write
Signed-off-by: Vijaya Kumar K
---
xen/arch/ar
From: Vijaya Kumar K
ITS translation space contains GITS_TRANSLATOR
register which is written by device to raise
LPI. This space needs to mapped to every domain
address space so that device can access GITS_TRANSLATOR
register using SMMU
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/vgic-v3-it
From: Vijaya Kumar K
Introduce new fields in irq descriptors for
LPI support. data field to hold irq related data
and virq to hold virtual lpi number for the corresponding
irq
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/irq.c| 18 ++
xen/include/asm-arm/irq.h |
From: Vijaya Kumar K
The LPI allocation is handled by virtual ITS driver on
receiving ITS commands from domain. So move this functionality
from physical ITS driver to Virtual ITS driver.
This patch does not add any virtual its funtionality
except moving required code for handling LPIs
Signed-of
From: Vijaya Kumar K
This is actual GICv3 ITS driver from linux.
No xen related changes are made and is not compiled.
This helps to import any issues found in linux
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/gic-v3-its.c | 1348 +
1 file changed
From: Vijaya Kumar K
Given the physical address of the page, get
the maddr to map in Xen to access domain's memory.
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/p2m.c| 24
xen/include/asm-arm/p2m.h |3 +++
2 files changed, 27 insertions(+)
diff --git a
From: Vijaya Kumar K
ITS driver does not require functionality to
create/free device. This will be handled by virtual
ITS driver.
The functionality of ITS driver will be limited to
initialization, sending ITS commands received from
Virtual ITS driver and ITS interrupt handling.
The following fu
From: Vijaya Kumar K
Add helper functions to decode ITS command
This will be useful for Virtual ITS driver
Signed-off-by: Vijaya Kumar K
---
xen/include/asm-arm/gic-its.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/xen/include/asm-arm/gic-it
From: Vijaya Kumar K
Add missing linked list apis from kernel
Signed-off-by: Vijaya Kumar K
CC: Jan Beulich
---
xen/include/xen/list.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/xen/include/xen/list.h b/xen/include/xen/list.h
index 59cf571..0e1c6b
From: Vijaya Kumar K
This patch just makes ITS driver taken from linux
compiles in xen environment.
The following changes are done
- memory allocation apis are changed
- raw spin lock api's changed to normal spin lock api's
- debug prints changed to xen debug prints
- remove msi chip functio
From: Vijaya Kumar K
ITS command encode functions are moved to
header file gits-its.h and made as inline functions.
This will be useful later in virtual its driver
Signed-off-by: Vijaya Kumar K
---
xen/arch/arm/gic-v3-its.c | 71 +---
xen/include/asm-arm/gic-its.h
401 - 500 of 530 matches
Mail list logo