[PATCH] USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected

2024-05-17 Thread John Ernberg
Signed-off-by: John Ernberg --- drivers/usb/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile index 3a9a0dd4be70..949eca0adebe 100644 --- a/drivers/usb/Makefile +++ b/drivers/usb/Makefile @@ -35,6 +35,7 @@ obj-$(CONFIG_USB_R8A66597_HCD)

[PATCH] xen/arm: imx8qm: Re-license file to GPL-2.0-only

2024-04-16 Thread John Ernberg
-by: John Ernberg --- xen/arch/arm/platforms/imx8qm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/platforms/imx8qm.c b/xen/arch/arm/platforms/imx8qm.c index 3600a073e8..9dac6af425 100644 --- a/xen/arch/arm/platforms/imx8qm.c +++ b/xen/arch/arm/platforms

Re: [PATCH v4 1/3] xen/arm: Add imx8q{m,x} platform glue

2024-04-15 Thread John Ernberg
ver bully contributors into changing licensing.  It is >> unacceptable behaviour, and in most cases - including this one by the >> looks of things - not legal. > > I don't think I have bullied the contributor. I have asked politely > whether it can be done. There is nothing illegal (see above). Just adding: I did not feel bullied here. > > The problematic behavior is you trying to pressure the other people to > accept your point of view by been condescending or insulting them like > you did here. > > I have reported this behavior several times to CoC. And I guess this > need to happen again. > > Cheers, > Best regards // John Ernberg

Re: [PATCH v4 1/3] xen/arm: Add imx8q{m,x} platform glue

2024-04-09 Thread John Ernberg
On 4/9/24 8:47 AM, Michal Orzel wrote: > Hi John, > > On 08/04/2024 18:11, John Ernberg wrote: >> >> >> When using Linux for dom0 there are a bunch of drivers that need to do SMC >> SIP calls into the firmware to enable certain hardware bits like the >> w

[PATCH v4 2/3] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP

2024-04-08 Thread John Ernberg
replace the compatible rather than adding just another one. Signed-off-by: John Ernberg Acked-by: Julien Grall --- v4: - no changes v3: - no changes v2: - Replace the compatible rather than adding to the list (Julien Grall) - Reword commit message to reflect the above. - Collect Julien&#

[PATCH v4 0/3] Xen: ARM: Improved NXP iMX8 platform support

2024-04-08 Thread John Ernberg
Marquis) v2: https://lore.kernel.org/xen-devel/20240214160644.3418228-1-john.ernb...@actia.se/ - Added SIP call filtering (Julien Grall) - Replace lpuart compatible instead (Julien Grall) v1: https://lore.kernel.org/xen-devel/20240131114952.305805-1-john.ernb...@actia.se John Ernberg (3): xe

[PATCH v4 3/3] MAINTAINERS: Become a reviewer of iMX8Q{M,XP} related patches

2024-04-08 Thread John Ernberg
I have experience with the IMX8QXP, and the supported parts of the IMX8QM are identical. Help review patches touching these areas. Signed-off-by: John Ernberg Acked-by: Stefano Stabellini --- v4: - Properly sign the patch off (Stefano Stabellini) - Pick up Stefano's ack v3: - New

[PATCH v4 1/3] xen/arm: Add imx8q{m,x} platform glue

2024-04-08 Thread John Ernberg
4.13/xen/arch/arm/platforms/imx8qm.c Signed-off-by: Peng Fan [jernberg: Add SIP call filtering] Signed-off-by: John Ernberg --- v4: - Fix coding style problems added in v3 (Michal Orzel) - Remove all calls not currently used by Linux on imx8q{m,xp} (Michal Orzel) - Fix {g,}printk inconsiste

Re: [PATCH v3 1/3] xen/arm: Add imx8q{m,x} platform glue

2024-04-08 Thread John Ernberg
Hi Michel, Apologies for the slow reply. On 4/2/24 9:24 AM, Michal Orzel wrote: > Hi John, > > On 28/03/2024 17:34, John Ernberg wrote: >> >> >> When using Linux for dom0 there are a bunch of drivers that need to do SMC >> SIP calls into the firmware to enab

[PATCH v3 2/3] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP

2024-03-28 Thread John Ernberg
replace the compatible rather than adding just another one. Signed-off-by: John Ernberg Acked-by: Julien Grall --- v3: - no changes v2: - Replace the compatible rather than adding to the list (Julien Grall) - Reword commit message to reflect the above. - Collect Julien's ack --- xen/dr

[PATCH v3 0/2] Xen: ARM: Improved NXP iMX8 platform support

2024-03-28 Thread John Ernberg
ble instead (Julien Grall) v1: https://lore.kernel.org/xen-devel/20240131114952.305805-1-john.ernb...@actia.se John Ernberg (3): xen/arm: Add imx8q{m,x} platform glue xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP MAINTAINERS: Become a reviewer of iMX8Q{M,XP}

[PATCH v3 3/3] MAINTAINERS: Become a reviewer of iMX8Q{M,XP} related patches

2024-03-28 Thread John Ernberg
..09982241b3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -337,6 +337,11 @@ F: tools/misc/xenhypfs.c F: xen/common/hypfs.c F: xen/include/xen/hypfs.h +IMX8QM/QXP SUPPORT +R: John Ernberg +F: xen/arch/arm/platforms/imx8qm.c +F: xen/drivers/char/imx-lpuart.c + INTEL(R) TRUSTED

[PATCH v3 1/3] xen/arm: Add imx8q{m,x} platform glue

2024-03-28 Thread John Ernberg
4.13/xen/arch/arm/platforms/imx8qm.c Signed-off-by: Peng Fan [jernberg: Add SIP call filtering] Signed-off-by: John Ernberg --- v3: - Adhere to style guidelines for line length and label indentation (Michal Orzel) - Use smccc macros to build the SIP function identifier (Michal Orzel) - Ad

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-03-25 Thread John Ernberg
Hi Bertrand, On 3/21/24 17:15, Bertrand Marquis wrote: > Hi John, > >> On 21 Mar 2024, at 17:05, John Ernberg wrote: >> >> Hi Bertrand, >> >> On 3/21/24 08:41, Bertrand Marquis wrote: >>> Hi, >>> >>>> On 20 Mar 2024, at 18:40,

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-03-21 Thread John Ernberg
Hi Bertrand, On 3/21/24 08:41, Bertrand Marquis wrote: > Hi, > >> On 20 Mar 2024, at 18:40, Julien Grall wrote: >> >> Hi John, >> >> On 20/03/2024 16:24, John Ernberg wrote: >>> Hi Bertrand, >>> On 3/13/24 11:07, Bertrand Marquis wrote: >

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-03-20 Thread John Ernberg
Hi Bertrand, On 3/13/24 11:07, Bertrand Marquis wrote: > Hi, > >> On 8 Mar 2024, at 15:04, Julien Grall wrote: >> >> Hi John, >> >> Thank you for the reply. >> >> On 08/03/2024 13:40, John Ernberg wrote: >>> On 3/7/24 00:07, Julien G

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-03-11 Thread John Ernberg
Hi Julien, On 3/8/24 15:04, Julien Grall wrote: > Hi John, > > Thank you for the reply. > > On 08/03/2024 13:40, John Ernberg wrote: >> On 3/7/24 00:07, Julien Grall wrote: >>>   > Ping on the watchdog discussion bits. >>> >>> Sorry for the la

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-03-08 Thread John Ernberg
Hi Julien, On 3/7/24 00:07, Julien Grall wrote: > Hi John, > > > Ping on the watchdog discussion bits. > > Sorry for the late reply. > > On 06/03/2024 13:13, John Ernberg wrote: >> On 2/9/24 14:14, John Ernberg wrote: >>> >>>>     * IMX_SIP

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-03-06 Thread John Ernberg
Hi Julien, On 2/9/24 14:14, John Ernberg wrote: > Hi Julien, > > Apologies for the delay, I was pulled away for a bit. > > On 2/5/24 11:13, Julien Grall wrote: >> Hi, >> >> On 04/02/2024 09:40, Peng Fan wrote: >>> >>> >>>> -Orig

Re: [PATCH v2 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-03-06 Thread John Ernberg
Hi Michal, On 2/15/24 14:53, John Ernberg wrote: > Hi Michal, > > On 2/15/24 10:02, Michal Orzel wrote: >> Hi, >> >> On 14/02/2024 17:06, John Ernberg wrote: >>> >>> >>> When using Linux for dom0 there are a bunch of drivers that need to

Re: [PATCH v2 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-02-15 Thread John Ernberg
Hi Michal, On 2/15/24 10:02, Michal Orzel wrote: > Hi, > > On 14/02/2024 17:06, John Ernberg wrote: >> >> >> When using Linux for dom0 there are a bunch of drivers that need to do SMC >> SIP calls into the firmware to enable certain hardware bits like the &

[PATCH v2 2/2] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP

2024-02-14 Thread John Ernberg
replace the compatible rather than adding just another one. Signed-off-by: John Ernberg Acked-by: Julien Grall --- v2: - Replace the compatible rather than adding to the list (Julien Grall) - Reword commit message to reflect the above. - Collect Julien's ack --- xen/drivers/char/imx-lpu

[PATCH v2 0/2] Xen: ARM: Improved NXP iMX8 platform support

2024-02-14 Thread John Ernberg
r complete changelog) - Added SIP call filtering (Julien Grall) - Replace lpuart compatible instead (Julien Grall) v1: https://lore.kernel.org/xen-devel/20240131114952.305805-1-john.ernb...@actia.se John Ernberg (2): xen/arm: Add imx8q{m,x} platform glue xen/drivers: imx-lpuart: Replace iM

[PATCH v2 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-02-14 Thread John Ernberg
Peng Fan [jernberg: Add SIP call filtering] Signed-off-by: John Ernberg --- v2: - Reword the commit message to be a bit clearer - Include the link previously added as a context note to the commit message (Julien Grall) - Add Pengs signed off (Julien Grall, Peng Fan) - Add basic SIP call filter

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-02-09 Thread John Ernberg
Hi Julien, Apologies for the delay, I was pulled away for a bit. On 2/5/24 11:13, Julien Grall wrote: > Hi, > > On 04/02/2024 09:40, Peng Fan wrote: >> >> >>> -Original Message- >>> From: Julien Grall >>> Sent: 2024年2月2日 17:20 >>

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-02-01 Thread John Ernberg
On 2/1/24 13:20, Julien Grall wrote: > > > On 31/01/2024 15:32, John Ernberg wrote: >> Hi Julien, > > Hi John, > >> On 1/31/24 13:22, Julien Grall wrote: >>> Hi, >>> >>> On 31/01/2024 11:50, John Ernberg wrote: >>>> W

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-02-01 Thread John Ernberg
Hi Peng, On 2/1/24 05:10, Peng Fan wrote: >> Cc: Jonas Blixt ; xen-devel@lists.xenproject.org >> Subject: Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue >> >> Hi Julien, >> >> On 1/31/24 13:22, Julien Grall wrote: >>> Hi, >>> >&g

Re: [PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-01-31 Thread John Ernberg
Hi Julien, On 1/31/24 13:22, Julien Grall wrote: > Hi, > > On 31/01/2024 11:50, John Ernberg wrote: >> When using Linux for dom0 there are a bunch of drivers that need to do >> SMC >> SIP calls into the PSCI provider to enable certain hardware bits like the >>

Re: [PATCH 2/2] xen/drivers: imx-lpuart: Add iMX8QXP compatible

2024-01-31 Thread John Ernberg
Hi Julien, On 1/31/24 13:29, Julien Grall wrote: > Hi John, > > On 31/01/2024 11:50, John Ernberg wrote: >> Allow the uart to probe also with iMX8QXP. The ip-block is the same as >> in the QM, >> only the compatible is needed. >> >> Signed-off-by: J

[PATCH 1/2] xen/arm: Add imx8q{m,x} platform glue

2024-01-31 Thread John Ernberg
When using Linux for dom0 there are a bunch of drivers that need to do SMC SIP calls into the PSCI provider to enable certain hardware bits like the watchdog. Provide a basic platform glue that implements the needed SMC forwarding. Signed-off-by: John Ernberg --- NOTE: This is based on code

[PATCH 2/2] xen/drivers: imx-lpuart: Add iMX8QXP compatible

2024-01-31 Thread John Ernberg
Allow the uart to probe also with iMX8QXP. The ip-block is the same as in the QM, only the compatible is needed. Signed-off-by: John Ernberg --- xen/drivers/char/imx-lpuart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/drivers/char/imx-lpuart.c b/xen/drivers/char/imx-lpuart.c index

[PATCH 0/2] Xen: ARM: Improved NXP iMX8 platform support

2024-01-31 Thread John Ernberg
The iMX lpuart driver added at 44e17aa60d47 ("xen/arm: Add i.MX lpuart driver") is not enough to boot a Linux based dom0 when certain drivers, such as the watchdog driver, are enabled. We're also adding iMX8QXP compatibles to allow Xen to use the UART on the QXP variant as well.