[PATCH 0/3 v2] xen: Implement EFI reset_system callback

2017-04-24 Thread Julien Grall
Hi all, This small patch series implements EFI reset_system callback when using EFI Xen. Without this, it will not be possible to reboot/power off ARM64 DOM0 when using ACPI. Cheers, Cc: Boris Ostrovsky Cc: Juergen Gross Julien Grall (3): xen: Export xen_reboot arm/xen: Consolidate calls

[PATCH 3/3 v2] xen: Implement EFI reset_system callback

2017-04-24 Thread Julien Grall
76e2fc17e050aecd ]--- Signed-off-by: Julien Grall -- Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org The x86 code has theoritically a similar issue, altought EFI does not seem to be the preferred method. I hav

[PATCH 2/3 v2] arm/xen: Consolidate calls to shutdown hypercall in a single helper

2017-04-24 Thread Julien Grall
Signed-off-by: Julien Grall --- Changes in v2: - Patch added --- arch/arm/xen/enlighten.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 81e3217b12d3..ba7f4c8f5c3e 100644 --- a/arch/arm

[PATCH 1/3 v2] xen: Export xen_reboot

2017-04-24 Thread Julien Grall
The helper xen_reboot will be called by the EFI code in a later patch. Note that the ARM version does not yet exist and will be added in a later patch too. Signed-off-by: Julien Grall --- Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin&qu

Re: [PATCH 1/2] xen/arm, arm64: fix xen_dma_ops after 815dd18 "Consolidate get_dma_ops..."

2017-04-25 Thread Julien Grall
Linus so it can be fixed in 4.11? Cheers, -- Julien Grall

Re: irqchip/irq-gic: BAD_MADT_GICC_ENTRY may fail when booting with ACPI 5.1

2017-05-24 Thread Julien Grall
Hi Lorenzo, On 05/23/2017 06:06 PM, Lorenzo Pieralisi wrote: [+Al] On Tue, May 23, 2017 at 05:40:28PM +0100, Julien Grall wrote: Hi all, I am currently looking at adding support of ACPI 5.1 in Xen. When trying to boot DOM00 I get a panic in Linux (for the full log see [1]): (XEN) DOM0

Re: [Xen-devel] [PATCH v1] xen/grant-table: log the lack of grants

2017-07-14 Thread Julien Grall
return -ENOSPC; +} rc = gnttab_map(cur, cur + extra - 1); if (rc == 0) ___ Xen-devel mailing list xen-de...@lists.xen.org https://lists.xen.org/xen-devel -- Julien Grall

Re: [Xen-devel] [PATCH] xen: use hvc console for dom0

2018-02-27 Thread Julien Grall
as a preferred console for the initial domain as well. Cheers, -- Julien Grall

Re: [Xen-devel] [PATCH] xen: use hvc console for dom0

2018-02-27 Thread Julien Grall
Hi, On 27/02/2018 20:03, Stefano Stabellini wrote: On Tue, 27 Feb 2018, Julien Grall wrote: Hi, On 26/02/18 12:32, Juergen Gross wrote: On 26/02/18 13:06, Andrii Anisov wrote: Hello Juergen, On 26.02.18 13:08, Juergen Gross wrote: Today the hvc console is added as a preferred console for

Re: [PATCH v6 05/11] arm64/mm: Add support for XPFO

2017-09-14 Thread Julien Grall
a level parameter. Cheers, -- Julien Grall

Re: [PATCH] xen/events: events_fifo: Don't use {get,put}_cpu() in xen_evtchn_fifo_init()

2017-08-22 Thread Julien Grall
Hi, Gentle ping. This patch was reviewed but not queued. Are we waiting for other reviewed? Cheers, On 18/08/17 11:15, Julien Grall wrote: Hi Boris, On 17/08/17 18:36, Boris Ostrovsky wrote: On 08/17/2017 12:14 PM, Julien Grall wrote: When booting Linux as Xen guest with

[PATCH] xen/privcmd: Support correctly 64KB page granularity when mapping memory

2017-05-31 Thread Julien Grall
a) contain one page per 64KB. Fix it by incrementing st->index correctly. Furthermore, st->va is not correctly incremented as PAGE_SIZE != XEN_PAGE_SIZE. Fixes: 5995a68 ("xen/privcmd: Add support for Linux 64KB page granularity") CC: sta...@vger.kernel.org Reported-by: Feng Kan Si

Re: [PATCH] xen/privcmd: Support correctly 64KB page granularity when mapping memory

2017-06-01 Thread Julien Grall
Hi Boris, On 31/05/17 14:54, Boris Ostrovsky wrote: On 05/31/2017 09:03 AM, Julien Grall wrote: Commit 5995a68 "xen/privcmd: Add support for Linux 64KB page granularity" did not go far enough to support 64KB in mmap_batch_fn. The variable 'nr' is the number of 4KB chunk t

Re: [PATCH] xen/privcmd: Support correctly 64KB page granularity when mapping memory

2017-06-01 Thread Julien Grall
Hi Boris, On 01/06/17 14:33, Boris Ostrovsky wrote: On 06/01/2017 08:50 AM, Julien Grall wrote: Hi Boris, On 31/05/17 14:54, Boris Ostrovsky wrote: On 05/31/2017 09:03 AM, Julien Grall wrote: Commit 5995a68 "xen/privcmd: Add support for Linux 64KB page granularity" did not go far

Re: [PATCH] xen/privcmd: Support correctly 64KB page granularity when mapping memory

2017-06-01 Thread Julien Grall
Hi Boris, On 01/06/17 16:16, Boris Ostrovsky wrote: On 06/01/2017 10:01 AM, Julien Grall wrote: Hi Boris, On 01/06/17 14:33, Boris Ostrovsky wrote: On 06/01/2017 08:50 AM, Julien Grall wrote: Hi Boris, On 31/05/17 14:54, Boris Ostrovsky wrote: On 05/31/2017 09:03 AM, Julien Grall wrote

Re: [PATCH] xen/privcmd: Support correctly 64KB page granularity when mapping memory

2017-06-01 Thread Julien Grall
On 01/06/2017 21:41, Boris Ostrovsky wrote: On 06/01/2017 11:38 AM, Julien Grall wrote: Hi Boris, On 01/06/17 16:16, Boris Ostrovsky wrote: On 06/01/2017 10:01 AM, Julien Grall wrote: Hi Boris, On 01/06/17 14:33, Boris Ostrovsky wrote: On 06/01/2017 08:50 AM, Julien Grall wrote: Hi

irqchip/irq-gic: BAD_MADT_GICC_ENTRY may fail when booting with ACPI 5.1

2017-05-23 Thread Julien Grall
00] [] __primary_switched+0x64/0x6c (XEN) DOM0: [0.00] ---[ end Kernel panic - not syncing: No interrupt controller found. Cheers, -- Julien Grall

Request backporting 374d446d25d6 and 985626564eed in stable 4.9

2017-06-06 Thread Julien Grall
636/1: Cleanup sanity_check_meminfo" - 985626564eedc470ce2866e53938303368ad41b7 "ARM: 8637/1: Adjust memory boundaries after reservations" Would it be possible to backport them on Linux 4.9 stable? Cheers, -- Julien Grall

Re: [PATCH] xen/privcmd: Support correctly 64KB page granularity when mapping memory

2017-06-06 Thread Julien Grall
Hi, It has been reviewed-by Boris but I don't see the patch queued. Would it be possible to queue it for 4.12? Cheers, On 01/06/17 21:41, Boris Ostrovsky wrote: On 06/01/2017 11:38 AM, Julien Grall wrote: Hi Boris, On 01/06/17 16:16, Boris Ostrovsky wrote: On 06/01/2017 10:01 AM, J

Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback

2017-05-02 Thread Julien Grall
Hi all, It looks like the series has fully been acked, can someone merge this into xentip? Cheers, On 04/24/2017 06:58 PM, Julien Grall wrote: Hi all, This small patch series implements EFI reset_system callback when using EFI Xen. Without this, it will not be possible to reboot/power off

Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback

2017-05-02 Thread Julien Grall
Hi Juergen, On 02/05/17 10:30, Juergen Gross wrote: On 02/05/17 11:08, Julien Grall wrote: Hi all, It looks like the series has fully been acked, can someone merge this into xentip? As I already wrote: patch 1 doesn't apply any longer. As there were other conflicts between xentip and

Fail to build Linux with O= in master

2017-09-29 Thread Julien Grall
d)". Looking at the code, it seems that it is because the code is now using $(realpath ...). Indeed when I replace ~ by $HOME the kernel is now built. I am not a Makefile expert, so I would appreciate if anyone could suggest a patch for this. Regards, -- Julien Grall

Re: Fail to build Linux with O= in master

2017-10-02 Thread Julien Grall
Hello, On 30/09/17 01:37, Masahiro Yamada wrote: 2017-09-30 8:59 GMT+09:00 Julien Grall : Hello, I have tried to build the latest master and got the following error: 42sh> make O=~/works/linux-build/aarch64-4k -C ~/works/linux make: Entering directory '/home/julgra01/works/linux&#

Re: [PATCH] kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)

2017-10-02 Thread Julien Grall
ead of $(shell cd ... && /bin/pwd)") Reported-by: Julien Grall Signed-off-by: Masahiro Yamada Tested-by: Julien Grall Regards, --- Makefile | 4 ++-- tools/power/cpupower/Makefile | 2 +- tools/scripts/Makefile.include | 6 +++--- 3 files changed, 6 i

[PATCH] DT/arm,gic-v3: Update the ITS size in the examples

2017-10-03 Thread Julien Grall
Currently, the examples are using 2MB for the ITS size. Per the specification (section 8.18 in ARM IHI 0069D), the ITS address map is 128KB. Update the examples to match the specification. Signed-off-by: Julien Grall --- .../devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 6

[tip: timers/core] hrtimer: Don't take expiry_lock when timer is currently migrated

2019-08-22 Thread tip-bot2 for Julien Grall
The following commit has been merged into the timers/core branch of tip: Commit-ID: 68b2c8c1e421096f4b46ac2ac502d25ca067a2a6 Gitweb: https://git.kernel.org/tip/68b2c8c1e421096f4b46ac2ac502d25ca067a2a6 Author:Julien Grall AuthorDate:Wed, 21 Aug 2019 10:24:09 +01:00

[tip: timers/core] hrtimer: Protect lockless access to timer->base

2019-08-22 Thread tip-bot2 for Julien Grall
The following commit has been merged into the timers/core branch of tip: Commit-ID: dd2261ed45aaeddeb77768f291d604179bcab096 Gitweb: https://git.kernel.org/tip/dd2261ed45aaeddeb77768f291d604179bcab096 Author:Julien Grall AuthorDate:Wed, 21 Aug 2019 10:24:07 +01:00

<    3   4   5   6   7   8