> @@ -716,8 +728,6 @@ static int blkif_queue_rw_req(struct request *req, struct
> blkfront_ring_info *ri
> if (setup.segments)
> kunmap_atomic(setup.segments);
>
> - rinfo->ring.req_prod_pvt++;
> -
> /* Keep a private copy so we can
Hi Konrad,
On 07/12/15 15:01, Konrad Rzeszutek Wilk wrote:
> On Mon, Dec 07, 2015 at 02:21:46PM +0000, Julien Grall wrote:
>> Thank you, the changes look good to me. What about patch #2?
>
> Oh, I thought you said you would rebase it - so I had been waiting
> for that
Hi Konrad,
On 01/12/15 15:37, Konrad Rzeszutek Wilk wrote:
> On Wed, Nov 18, 2015 at 06:57:23PM +0000, Julien Grall wrote:
>> Hi all,
>>
>> This is a follow-up on the previous discussion [1] related to guest using
>> 64KB
>> page granularity which doesn't
82d340081b6f71237373d1452e3573a5a122794c
"arm64: Improve error reporting on set_pte_at() checks". This is because
mmdebug.h relies on the includer to properly include the dependencies.
Signed-off-by: Julien Grall <julien.gr...@citrix.com>
---
Cc: Stefano Stabellini <stefano.stabell..
Hi Catalin,
On 14/12/15 16:22, Catalin Marinas wrote:
> On Mon, Dec 14, 2015 at 04:07:24PM +0000, Julien Grall wrote:
>> Linux 4.4-rc5 doesn't build for arm64 with CONFIG_XEN=y enabled:
>>
>> In file included from linux/arch/arm64/include/asm/pgtable.h:60:0,
>>
Hi,
Ping?
Regards,
On 18/11/15 18:57, Julien Grall wrote:
> Hi all,
>
> This is a follow-up on the previous discussion [1] related to guest using 64KB
> page granularity which doesn't boot when the backend isn't using indirect
> descriptor.
>
> This has been success
Hi,
Just noticed that Bob and Konrad have not been correctly CCed.
Regards,
On 18/11/15 18:57, Julien Grall wrote:
> Hi all,
>
> This is a follow-up on the previous discussion [1] related to guest using 64KB
> page granularity which doesn't boot when the backend isn't us
tor fingered the commit 578270b "block: fix segment split".
If I reverted this patch on top of 4.4-rc3 and everything seems to
work fine.
Anyone have any ideas?
FWIW, the 2 patches mentioned in a related thread [1] are already
part of Linux 4.4-rc3.
Regards,
[1] https://lkml.org/lkml/2015
us' master and the problem disappear, thank
you!
Next time I will try your branch before sending an error report.
Regards,
--
Julien Grall
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More maj
Hello Paul,
On 13/06/16 13:12, Paul Durrant wrote:
-Original Message-
From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
Julien Grall
Sent: 13 June 2016 11:51
To: boris.ostrov...@oracle.com; David Vrabel; jgr...@suse.com;
sstabell...@kernel.org; konrad.w...@oracle.com
On 13/06/16 13:41, Julien Grall wrote:
Hello Paul,
On 13/06/16 13:12, Paul Durrant wrote:
-Original Message-
From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of
Julien Grall
Sent: 13 June 2016 11:51
To: boris.ostrov...@oracle.com; David Vrabel; jgr...@suse.com
On 13/06/16 13:45, Paul Durrant wrote:
-Original Message-
From: Julien Grall [mailto:julien.gr...@arm.com]
Sent: 13 June 2016 13:42
To: Paul Durrant; boris.ostrov...@oracle.com; David Vrabel;
jgr...@suse.com; sstabell...@kernel.org; konrad.w...@oracle.com
Cc: Andrew Cooper; xen-de
Hi David,
On 13/06/16 11:57, David Vrabel wrote:
On 13/06/16 11:50, Julien Grall wrote:
The version 1 of the grant-table protocol only supports frame encoded on
32-bit.
When the platform is supporting 48-bit physical address, the frame will
be encoded on 36-bit which will lead a truncation
the physical address,
although today the RAM is always located under 40-bits (see
xen/include/public/arch-arm.h).
Add a truncation check in gnttab_update_entry_v1 to prevent the guest to
give access to the wrong frame.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
This is limit
ballooning on x86 32 bit PAE")
Cc: sta...@vger.kernel.org
Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>
You have applied this patch to the branch for-linus-4.8 but not
for-linus-4.7. Is it intentional?
Regards,
--
Julien Grall
Hello all,
This patch series contains a series of small bug fixes for the arm_pmu
drivers.
I think all the patch should be backported to stable but I have not figured
out up to which version.
Julien Grall (3):
drivers/perf: arm_pmu: Fix reference count of a device_node in
of_pmu_irq_cfg
the setting of __oprofile_cpu_pmu when the PMU is fully
initialized (i.e when it is no longer possible to fail).
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Mark Rutland <mark.rutl...@arm.com>
---
drivers/perf/arm_pmu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deleti
e(NULL) is benign.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Mark Rutland <mark.rutl...@arm.com>
---
drivers/perf/arm_pmu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/perf/arm_pmu.c b/drivers/perf/arm_pmu.c
index 95614d2..1b8304e 100644
--- a/drivers/pe
is using dn
between the first and second call to of_node_put.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Mark Rutland <mark.rutl...@arm.com>
---
drivers/perf/arm_pmu.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/perf/arm_pmu.c b/
timer code.
With this changes, the support for ACPI is coming free.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc:
information. Also fill up the structure for GICv2.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
drivers/irqchip/irq-gic-common.c | 13
information about the virtual GIC.
With this change, the virtual GIC becomes agnostic to the firmware
table and KVM will be able to initialize the vGIC on ACPI.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc: Marc Zyngier <marc.
tables are duplicated which I think make more complex to
support new firmware tables.
Regards,
[1] https://lists.cs.columbia.edu/pipermail/kvmarm/2016-February/018482.html
[2] https://lists.cs.columbia.edu/pipermail/kvmarm/2016-February/018355.html
Julien Grall (5):
KVM: arm/arm64: arch_timer
Fill up the recently introduced gic_kvm_info with the virtual GIC
information.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
driv
, a stub for the new helper hasn't been
introduced because KVM is requiring the arch timer for both ARM64 and
ARM32.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Christoffer D
,
--
Julien Grall
Hi Marc,
On 10/02/16 14:46, Marc Zyngier wrote:
On 10/02/16 14:19, Julien Grall wrote:
On 09/02/16 20:49, Christoffer Dall wrote:
+static void __init gic_acpi_setup_kvm_info(void)
+{
+ gic_v2_kvm_info.type = GIC_V2;
+
+ gic_v2_kvm_info.maint_irq = acpi_register_gsi(NULL
On 08/02/16 18:30, Marc Zyngier wrote:
Julien,
Hi Marc,
On 08/02/16 16:47, Julien Grall wrote:
[...]
+static void __init gic_of_setup_kvm_info(struct device_node *node)
+{
+ int ret;
+ struct resource r;
+ unsigned int irq;
+
+ gic_v2_kvm_info.type = GIC_V2
For now, there is only one member. More member will be added later.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v
timer code.
With this changes, the support for ACPI is coming free.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc:
, a stub for the new helper hasn't been
introduced because KVM is requiring the arch timer for both ARM64 and
ARM32.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Christoffer D
Julien Grall (6):
KVM: arm/arm64: arch_timer: Gather KVM specific information in a
structure
KVM: arm/arm64: arch_timer: Rely on the arch timer to parse the
firmware tables
irqchip/gic-v2: Gather ACPI specific data in a single structure
irqchip/gic-v2: Parse and export virtual GIC
information. Also fill up the structure for GICv2.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v2:
- Use 0 rath
information about the virtual GIC.
With this change, the virtual GIC becomes agnostic to the firmware
table and KVM will be able to initialize the vGIC on ACPI.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc: Marc Zyngie
Fill up the recently introduced gic_kvm_info with the virtual GIC
information.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Change
Hello Wei,
On 19/02/16 07:24, Wei Huang wrote:
On 02/11/2016 09:33 AM, Julien Grall wrote:
[...]
This is also dropping arch_timer_get_timecounter as it was only used by
the KVM code. Furthermore, a stub for the new helper hasn't been
introduced because KVM is requiring the arch timer
On 19/02/16 10:53, Julien Grall wrote:
--
Julien Grall
IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person
Hi Christoffer,
On 09/03/16 05:14, Christoffer Dall wrote:
On Tue, Mar 08, 2016 at 11:29:28AM +, Julien Grall wrote:
For now, the firmware tables are parsed 2 times: once in the GIC
drivers, the other timer when initializing the vGIC. It means code
duplication and make more tedious to add
Hi Christoffer,
On 09/03/16 05:39, Christoffer Dall wrote:
On Tue, Mar 08, 2016 at 11:29:29AM +, Julien Grall wrote:
Even though all the variables aren't marked with __initdata, they are
only used during initialization. So the structure is marked with
__initdata.
Not sure I understand
Hi Christoffer,
On 09/03/2016 10:23, Christoffer Dall wrote:
On Tue, Mar 08, 2016 at 11:29:25AM +, Julien Grall wrote:
-static struct timecounter timecounter;
+static struct arch_timer_kvm_info arch_timer_kvm_info;
+
+struct arch_timer_kvm_info *arch_timer_get_kvm_info(void)
borderline
Hi Christoffer,
On 09/03/2016 10:27, Christoffer Dall wrote:
On Tue, Mar 08, 2016 at 11:29:26AM +, Julien Grall wrote:
diff --git a/drivers/clocksource/arm_arch_timer.c
b/drivers/clocksource/arm_arch_timer.c
index b7ab588..d8887f3 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b
Hi Christoffer,
On 09/03/2016 12:47, Christoffer Dall wrote:
On Tue, Mar 08, 2016 at 11:29:27AM +, Julien Grall wrote:
For now, there is only one member. More member will be added later.
questionable commit message
What about:
"The ACPI code requires to use global variables in
pfns[i] = pfn_to_gfn(xen_pfn++);
+ }
Would it be possible to re-use xen_for_each_gfn? This will avoid
open-coding the loop to break down the Linux page.
Regards,
--
Julien Grall
trigger, polarity);
+ }
+ }
Can you invert the condition to remove one layer of indentation?
Regards,
--
Julien Grall
On 29/03/16 15:39, Daniel Lezcano wrote:
On 03/24/2016 06:53 PM, Julien Grall wrote:
The only call of arch_timer_get_timecounter (in KVM) has been removed.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Christoffer Dall <christoffer.d...@linaro.org>
Hi Julien,
Hi
Hi Christoffer,
On 06/04/2016 18:28, Christoffer Dall wrote:
On Mon, Apr 04, 2016 at 12:37:31PM +0100, Julien Grall wrote:
Hello,
This patch series allows KVM to work with ACPI on ARM64.
Currently, the firmware tables are parsed by the the virtual timer and virtual
GIC code in order
Hi Christoffer,
On 06/04/2016 18:22, Christoffer Dall wrote:
On Mon, Apr 04, 2016 at 12:37:37PM +0100, Julien Grall wrote:
+static void __init gic_acpi_setup_kvm_info(void)
+{
+ int irq;
+
+ if (!gic_acpi_collect_virt_info()) {
+ pr_warn("Unable to get har
Hi Christoffer,
On 06/04/2016 18:04, Christoffer Dall wrote:
On Mon, Apr 04, 2016 at 12:37:35PM +0100, Julien Grall wrote:
diff --git a/include/linux/irqchip/arm-gic-common.h
b/include/linux/irqchip/arm-gic-common.h
new file mode 100644
index 000..ef34f6f
--- /dev/null
+++ b/include/linux
, it
needs to check whether the DTS only contains a /hypervisor node and a
/chosen node in acpi_boot_table_init().
Patches are tested on FVP base model. They can be fetched from[2].
I have tested this series and Linux is booting up to the prompt:
Tested-by: Julien Grall <julien.gr...@arm.
ellini <stefano.stabell...@eu.citrix.com>
Reviewed-by: Julien Grall <julien.gr...@arm.com>
Regards,
--
Julien Grall
On 09/04/16 03:29, Shanker Donthineni wrote:
Hi Julien,
Hello Shanker,
On 04/04/2016 06:37 AM, Julien Grall wrote:
+static int __init gic_acpi_parse_virt_madt_gicc(struct
acpi_subtable_header *header,
+ const unsigned long end)
+{
+ struct
Hello Hanjun,
On 11/04/16 06:27, Hanjun Guo wrote:
On 2016/4/4 19:37, Julien Grall wrote:
+static void __init gic_acpi_setup_kvm_info(void)
+{
+int irq;
+
+if (!gic_acpi_collect_virt_info()) {
+pr_warn("Unable to get hardware information used for
virtualizat
On 11/04/16 04:17, Hanjun Guo wrote:
Hi Julian,
Hi Hanjun,
On 2016/4/4 19:37, Julien Grall wrote:
@@ -1302,6 +1339,41 @@ static bool __init gic_validate_dist(struct
acpi_subtable_header *header,
#define ACPI_GICV2_DIST_MEM_SIZE(SZ_4K)
#define ACPI_GIC_CPU_IF_MEM_SIZE(SZ_8K
information about the virtual GIC.
With this change, the virtual GIC becomes agnostic to the firmware
table and KVM will be able to initialize the vGIC on ACPI.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Reviewed-by: Christoffer Dall <christoffer.d...@linaro.org>
---
Cc: Marc Zyngie
in a subsequent patch.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Christoffer Dall <christoffer.d...@linaro.org>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Currently, most of the pr_* messages in the GICv3 driver don't have a
prefix. Add one to make clear where the messages come from.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Changes in v6:
- Patch added
---
drivers/irqchip/irq-gic-v3.c | 2 ++
1 file chan
The only call of arch_timer_get_timecounter (in KVM) has been removed.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Christoffer Dall <christoffer.d...@linaro.org>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.d
by the virtual timer code.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Christoffer Dall <christoffer.d...@linaro.org>
---
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Cc: Gleb Natapov <g...@kernel.org>
Cc: Paol
and ARM32.
The function arch_timer_get_timecounter is kept for the time being and
will be dropped in a subsequent patch.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Christoffer Dall <christoffer.d...@linaro.org>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
C
Fill up the recently introduced gic_kvm_info with the hardware
information used for virtualization.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
the initialization. Therefore,
the new variable, which hold the structure, can be marked with
__initdata.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Christoffer Dall <christoffer.d...@linaro.org>
Reviewed-by: Hanjun Guo <hanjun@linaro.org>
---
Cc:
information. Also fill up the structure for GICv2.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v6:
- Move the cod
The ACPI code requires to use global variables in order to collect
information from the tables.
For now, a single global variable is used, but more will be added in a
subsequent patch. To make clear they are ACPI specific, gather all the
information in a single structure.
Signed-off-by: Julien
are merged via the clocksource tree
Patches #2-#7 are merged via the irqchip tree
2) Patches #8-#9 are merge via the KVM tree
3) Patch #10 is merged via the clocksource tree.
For all the changes see in each patch.
Regards,
Julien Grall (10):
clocksource: arm_arch_timer: Gather KVM specific
tefano Stabellini <stefano.stabell...@eu.citrix.com>
Reviewed-by: Julien Grall <julien.gr...@arm.com>
Regards,
--
Julien Grall
Hi Shannon,
On 01/04/2016 16:49, Shannon Zhao wrote:
Add a new type of Xen map space for Dom0 to map device's MMIO region.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Julien Grall <julien.gr...@arm.com>
Regards,
--
Julien Grall
o.stabell...@eu.citrix.com>
Reviewed-by: Julien Grall <julien.gr...@arm.com>
Regards,
--
Julien Grall
n_platform_notifier(void)
+{
+ if (!xen_initial_domain() || acpi_disabled)
+ return 0;
+
+ return bus_register_notifier(_bus_type, _device_nb);
+}
+
+arch_initcall(register_xen_platform_notifier);
Regards,
--
Julien Grall
;
Reviewed-by: Julien Grall <julien.gr...@arm.com>
Regards,
--
Julien Grall
Hi Shannon,
On 01/04/2016 16:49, Shannon Zhao wrote:
The kernel will get the event-channel IRQ through
HVM_PARAM_CALLBACK_IRQ.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
Reviewed-by: Julien Gral
the interrupt polarity is active low(1) or high(0).
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
Reviewed-by: Julien Grall <julien.gr...@arm.com>
Regards,
--
Julien Grall
n Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
Reviewed-by: Julien Grall <julien.gr...@arm.com>
Regards,
--
Julien Grall
Hi Shannon,
On 07/04/16 02:37, Shannon Zhao wrote:
On 2016/4/6 20:16, Julien Grall wrote:
+gpfns[j] = XEN_PFN_DOWN(r->start) + j;
+idxs[j] = XEN_PFN_DOWN(r->start) + j;
+}
+
+xatp.domid = DOMID_SELF;
+xatp.size = nr;
+xatp
On 07/04/16 02:39, Shannon Zhao wrote:
Hi Julien,
Hi Shannon,
On 2016/4/6 19:32, Julien Grall wrote:
Hi Shannon,
On 01/04/2016 16:48, Shannon Zhao wrote:
This patch set adds ACPI support for Xen Dom0 on ARM64. The relevant Xen
ACPI on ARM64 design document could be found from [1
Hi Graeme,
On 22/03/16 11:27, Graeme Gregory wrote:
On Tue, Mar 08, 2016 at 11:29:30AM +, Julien Grall wrote:
@@ -1020,6 +1060,13 @@ gic_acpi_parse_madt_gicc(struct acpi_subtable_header
*header,
return -ENOMEM;
gic_acpi_register_redist(gicc->gicr_base_addr
information about the virtual GIC.
With this change, the virtual GIC becomes agnostic to the firmware
table and KVM will be able to initialize the vGIC on ACPI.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc: Marc Zyngier <marc.
the initialization. Therefore,
the new variable, which hold the structure, can be marked with
__initdata.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.co
The only call of arch_timer_get_timecounter (in KVM) has been removed.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Christoffer Dall <christoffer.d...@linaro.org>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.d
and ARM32.
The function arch_timer_get_timecounter is kept for the time being and
will be dropped in a subsequent patch.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Marc
introduces new helpers to retrieve the
information from the different drivers in order to avoid duplication of the
parsing code.
To make the merge easier via the different trees, each patch modifies
a single subsystem.
For all the changes see the different patches.
Yours sincerely,
Julien Grall (9
Fill up the recently introduced gic_kvm_info with the hardware
information used for virtualization.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
by the virtual timer code.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Acked-by: Christoffer Dall <christoffer.d...@linaro.org>
---
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Cc: Gleb Natapov <g...@kernel.org>
Cc: Paol
in a subsequent patch.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v4:
- Move the initializ
The ACPI code requires to use global variables in order to collect
information from the tables.
For now, a single global variable is used, but more will be added in a
subsequent patch. To make clear they are ACPI specific, gather all the
information in a single structure.
Signed-off-by: Julien
information. Also fill up the structure for GICv2.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v4:
- Change the flow
information about the virtual GIC.
With this change, the virtual GIC becomes agnostic to the firmware
table and KVM will be able to initialize the vGIC on ACPI.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc: Marc Zyngier <marc.
and ARM32.
The function arch_timer_get_timecounter is kept for the time being and
will be dropped in a subsequent patch.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Marc
The only call of arch_timer_get_timecounter (in KVM) has been removed.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Changes in v3:
- Patch added
---
d
information. Also fill up the structure for GICv2.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v2:
- Use 0 rath
,
Julien Grall (9):
clocksource: arm_arch_timer: Gather KVM specific information in a
structure
clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the
virtual IRQ
irqchip/gic-v2: Gather ACPI specific data in a single structure
irqchip/gic-v2: Parse and export virtual GIC
in a subsequent patch.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v3:
- Move the KVM changes in a separate pa
by the virtual timer code.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Cc: Gleb Natapov <g...@kernel.org>
Cc: Paolo Bonzini <pbonz...@redhat.com>
Changes in v3:
Fill up the recently introduced gic_kvm_info with the virtual GIC
information.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
---
Changes i
For now, there is only one member. More member will be added later.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v
Even though all the variables aren't marked with __initdata, they are
only used during initialization. So the structure is marked with
__initdata.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemo
Hi Christoffer,
On 03/03/16 19:38, Christoffer Dall wrote:
On Thu, Feb 11, 2016 at 03:33:20PM +, Julien Grall wrote:
[...]
diff --git a/drivers/clocksource/arm_arch_timer.c
b/drivers/clocksource/arm_arch_timer.c
index 6eb2c5d..3cdbefd 100644
--- a/drivers/clocksource/arm_arch_timer.c
,
domain->ops = bus->iommu_ops;
domain->type = type;
+ mutex_init(>reserved_mutex);
For consistency, the RB-tree reserved_binding_list should be initialized
too:
domain->reserved_binding_list = RB_ROOT;
Cheers,
--
Julien Grall
Fill up the recently introduced gic_kvm_info with the hardware
information used for virtualization.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
information about the virtual GIC.
With this change, the virtual GIC becomes agnostic to the firmware
table and KVM will be able to initialize the vGIC on ACPI.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Christoffer Dall <christoffer.d...@linaro.org>
Cc: Marc Zyngier <marc.
information. Also fill up the structure for GICv2.
Signed-off-by: Julien Grall <julien.gr...@arm.com>
---
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Changes in v4:
- Change the flow
401 - 500 of 1315 matches
Mail list logo