Skip to contentSkip to conversation

misc: make CONFIG_IRQ selectable for all platforms

PATCH New Wasim Khan 5 participants 15 messages Mar 8, 2021 – Apr 20, 2021

Subsystems (2)
lore
Share & tools
lore

Wasim Khan

author
#0 lore raw

PATCH v2 1/4 misc: make CONFIG_IRQ selectable for all platforms

From: Wasim Khan <[email protected]>

UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ selectable for all platforms.

---
Changes in v2:
- Corrected typo in commit description

 drivers/misc/Kconfig | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/misc/Kconfig +2 -3
index 29432ae7eb..5eab1ed9c6 100644
@@ -211,10 +211,9 @@ config FSL_SEC_MON
 	  like software violations or hardware security violations.
 
 config IRQ
-	bool "Intel Interrupt controller"
-	depends on X86 || SANDBOX
+	bool "Interrupt controller"
 	help
-	  This enables support for Intel interrupt controllers, including ITSS.
+	  This enables support for interrupt controllers, including ITSS.
 	  Some devices have extra features, such as Apollo Lake. The
 	  device has its own uclass since there are several operations
 	  involved.
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH v2 2/4 arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

From: Wasim Khan <[email protected]>

GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when GIC_V3_ITS is enabled.

---
Changes in v2:
- no change

 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index fbe90875ae..f8b4d422d9 100644
@@ -67,6 +67,7 @@ config GIC_V3_ITS
 	bool "ARM GICV3 ITS"
 	select REGMAP
 	select SYSCON
+	select IRQ
 	help
 	  ARM GICV3 Interrupt translation service (ITS).
 	  Basic support for programming locality specific peripheral
Signature · 1 line
2.25.1
#2 lore raw

PATCH v2 2/4 arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

Quoted 9 lines · Wasim Khan

From: Wasim Khan <[email protected]>

GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when GIC_V3_ITS is enabled.

---

Needs this patch to actually work properly, so that should be accepted
as well:
https://patchwork.ozlabs.org/project/uboot/patch/20210305070235.13547-1-Zhiqiang.Hou at nxp.com/

Quoted 21 lines

Changes in v2:
- no change

 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index fbe90875ae..f8b4d422d9 100644
@@ -67,6 +67,7 @@ config GIC_V3_ITS
 	bool "ARM GICV3 ITS"
 	select REGMAP
 	select SYSCON
+	select IRQ
 	help
 	  ARM GICV3 Interrupt translation service (ITS).
 	  Basic support for programming locality specific peripheral
Signature · 1 line
2.25.1
#3 lore raw

PATCH v2 2/4 arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

In reply to Wasim Khan
Quoted 40 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Wasim Khan
Sent: Monday, March 8, 2021 9:18 PM
To: sjg at chromium.org; bmeng.cn at gmail.com; mario.six at gdsys.cc; bharat.gooty at broadcom.com; rayagonda.kokatanur at broadcom.com; t- kristo at ti.com; Varun Sethi <[email protected]>
Cc: u-boot at lists.denx.de; Wasim Khan <[email protected]>; Z.q. Hou <[email protected]>
Subject: [PATCH v2 2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

From: Wasim Khan <[email protected]>

GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when GIC_V3_ITS is enabled.

---
Changes in v2:
- no change

arch/arm/Kconfig | 1 +

1 file changed, 1 insertion(+)
arch/arm/Kconfig index renamed from arch/arm/Kconfig +0 -0

fbe90875ae..f8b4d422d9 100644

arch/arm/Kconfig +1 -1
@@ -67,6 +67,7 @@ config GIC_V3_ITS
 	bool "ARM GICV3 ITS"
 	select REGMAP
 	select SYSCON
+	select IRQ
 	help
 	  ARM GICV3 Interrupt translation service (ITS).
 	  Basic support for programming locality specific peripheral
--
Quoted 1 line

2.25.1

Tom,

Kindly help to merge this patch.
This is required to fix boot issue on many of NXP fsl-qoriq platforms like lx2160ardb.

Thanks
Priyanka

#4 lore raw

PATCH v2 2/4 arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

In reply to Wasim Khan
Quoted 9 lines · Wasim Khan

From: Wasim Khan <[email protected]>

GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when GIC_V3_ITS is enabled.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/45acf01e/attachment.sig>
author
#5 lore raw

PATCH v2 3/4 arch: Kconfig: enable IRQ using select for x86 architecture

In reply to Wasim Khan

From: Wasim Khan <[email protected]>

use 'select' to enable IRQ as it does not have architecture specific dependency.

---
Changes in v2:
- no change

 arch/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/Kconfig +1 -1
index 3aa99e08fc..362b220948 100644
@@ -167,6 +167,7 @@ config X86
 	select TIMER
 	select USE_PRIVATE_LIBGCC
 	select X86_TSC_TIMER
+	select IRQ
 	imply HAS_ROM if X86_RESET_VECTOR
 	imply BLK
 	imply CMD_DM
@@ -197,7 +198,6 @@ config X86
 	imply USB_HOST_ETHER
 	imply PCH
 	imply RTC_MC146818
-	imply IRQ
 	imply ACPIGEN if !QEMU
 	imply SYSINFO if GENERATE_SMBIOS_TABLE
 	imply SYSINFO_SMBIOS if GENERATE_SMBIOS_TABLE
Signature · 1 line
2.25.1
#6 lore raw

PATCH v2 3/4 arch: Kconfig: enable IRQ using select for x86 architecture

Quoted 46 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Wasim Khan
Sent: Monday, March 8, 2021 9:18 PM
To: sjg at chromium.org; bmeng.cn at gmail.com; mario.six at gdsys.cc; bharat.gooty at broadcom.com; rayagonda.kokatanur at broadcom.com; t- kristo at ti.com; Varun Sethi <[email protected]>
Cc: u-boot at lists.denx.de; Wasim Khan <[email protected]>; Z.q. Hou <[email protected]>
Subject: [PATCH v2 3/4] arch: Kconfig: enable IRQ using select for x86 architecture

From: Wasim Khan <[email protected]>

use 'select' to enable IRQ as it does not have architecture specific dependency.

---
Changes in v2:
- no change

arch/Kconfig | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
arch/Kconfig +1 -2
@@ -167,6 +167,7 @@ config X86
 	select TIMER
 	select USE_PRIVATE_LIBGCC
 	select X86_TSC_TIMER
+	select IRQ
 	imply HAS_ROM if X86_RESET_VECTOR
 	imply BLK
 	imply CMD_DM
@@ -197,7 +198,6 @@ config X86
 	imply USB_HOST_ETHER
 	imply PCH
 	imply RTC_MC146818
-	imply IRQ
 	imply ACPIGEN if !QEMU
 	imply SYSINFO if GENERATE_SMBIOS_TABLE
 	imply SYSINFO_SMBIOS if GENERATE_SMBIOS_TABLE
--
Quoted 1 line

2.25.1

Tom,

Kindly help to merge this patch.
This is required to fix boot issue on many of NXP fsl-qoriq platforms like lx2160ardb.

Thanks
Priyanka

#7 lore raw

PATCH v2 3/4 arch: Kconfig: enable IRQ using select for x86 architecture

In reply to Wasim Khan
Quoted 8 lines · Wasim Khan

From: Wasim Khan <[email protected]>

use 'select' to enable IRQ as it does not have architecture specific dependency.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/b3be4d98/attachment.sig>
author
#8 lore raw

PATCH v2 4/4 sandbox: enable IRQ using select for sandbox architecture

In reply to Wasim Khan

From: Wasim Khan <[email protected]>

Enable IRQ using select for sandbox architecture.

---
Changes in v2:
- no change

 arch/Kconfig                       | 1 +
 configs/sandbox64_defconfig        | 1 -
 configs/sandbox_defconfig          | 1 -
 configs/sandbox_flattree_defconfig | 1 -
 configs/sandbox_spl_defconfig      | 1 -
 5 files changed, 1 insertion(+), 4 deletions(-)
arch/Kconfig +1 -0
index 362b220948..336a5a68ef 100644
@@ -109,6 +109,7 @@ config SANDBOX
 	select SPI
 	select SUPPORT_OF_CONTROL
 	select SYSRESET_CMD_POWEROFF
+	select IRQ
 	imply BITREVERSE
 	select BLOBLIST
 	imply CMD_DM
configs/sandbox64_defconfig +0 -1
index 5fbbfd7236..534f58f868 100644
@@ -133,7 +133,6 @@ CONFIG_CROS_EC_I2C=y
 CONFIG_CROS_EC_LPC=y
 CONFIG_CROS_EC_SANDBOX=y
 CONFIG_CROS_EC_SPI=y
-CONFIG_IRQ=y
 CONFIG_P2SB=y
 CONFIG_PWRSEQ=y
 CONFIG_SPL_PWRSEQ=y
configs/sandbox_defconfig +0 -1
index f1ec701a9f..56f83695e0 100644
@@ -160,7 +160,6 @@ CONFIG_CROS_EC_I2C=y
 CONFIG_CROS_EC_LPC=y
 CONFIG_CROS_EC_SANDBOX=y
 CONFIG_CROS_EC_SPI=y
-CONFIG_IRQ=y
 CONFIG_P2SB=y
 CONFIG_PWRSEQ=y
 CONFIG_SPL_PWRSEQ=y
configs/sandbox_flattree_defconfig +0 -1
index edca7f1808..8098d652dc 100644
@@ -114,7 +114,6 @@ CONFIG_CROS_EC_I2C=y
 CONFIG_CROS_EC_LPC=y
 CONFIG_CROS_EC_SANDBOX=y
 CONFIG_CROS_EC_SPI=y
-CONFIG_IRQ=y
 CONFIG_P2SB=y
 CONFIG_PWRSEQ=y
 CONFIG_SPL_PWRSEQ=y
configs/sandbox_spl_defconfig +0 -1
index 479f0226e3..0afb0bec34 100644
@@ -134,7 +134,6 @@ CONFIG_CROS_EC_I2C=y
 CONFIG_CROS_EC_LPC=y
 CONFIG_CROS_EC_SANDBOX=y
 CONFIG_CROS_EC_SPI=y
-CONFIG_IRQ=y
 CONFIG_P2SB=y
 CONFIG_PWRSEQ=y
 CONFIG_SPL_PWRSEQ=y
Signature · 1 line
2.25.1
#9 lore raw

PATCH v2 4/4 sandbox: enable IRQ using select for sandbox architecture

Hi Wasim,

Quoted 11 lines · Wasim Khan

From: Wasim Khan <[email protected]>

Enable IRQ using select for sandbox architecture.

---
Changes in v2:
- no change

Quoted 6 lines
 arch/Kconfig                       | 1 +
 configs/sandbox64_defconfig        | 1 -
 configs/sandbox_defconfig          | 1 -
 configs/sandbox_flattree_defconfig | 1 -
 configs/sandbox_spl_defconfig      | 1 -
 5 files changed, 1 insertion(+), 4 deletions(-)

You can see the status of your series here:

http://patchwork.ozlabs.org/project/uboot/list/?series=232773

It is assigned to Tom Rini.

Regards,
Simon

#10 lore raw

PATCH v2 4/4 sandbox: enable IRQ using select for sandbox architecture

Hi Tom,

Quoted 43 lines

-----Original Message-----
From: Simon Glass <[email protected]>
Sent: Tuesday, March 30, 2021 10:27 PM
To: Wasim Khan (OSS) <[email protected]>
Cc: Bin Meng <[email protected]>; Mario Six <[email protected]>; Bharat Gooty <[email protected]>; Rayagonda Kokatanur <[email protected]>; Tero Kristo <[email protected]>; Varun Sethi <[email protected]>; U-Boot Mailing List <[email protected]>; Wasim Khan <[email protected]>
Subject: Re: [PATCH v2 4/4] sandbox: enable IRQ using select for sandbox architecture

Hi Wasim,

Quoted 11 lines · Wasim Khan

From: Wasim Khan <[email protected]>

Enable IRQ using select for sandbox architecture.

---
Changes in v2:
- no change

Quoted 6 lines
 arch/Kconfig                       | 1 +
 configs/sandbox64_defconfig        | 1 -
 configs/sandbox_defconfig          | 1 -
 configs/sandbox_flattree_defconfig | 1 -
 configs/sandbox_spl_defconfig      | 1 -
 5 files changed, 1 insertion(+), 4 deletions(-)

You can see the status of your series here:

https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatchwor
k.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D232773&amp;data=0 4%7C01%7Cwasim.khan%40nxp.com%7Cbabc6763976e4d9c257808d8f39cd77b %7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637527202242089410 %7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=cmOzxfmhlIdP6A0G1P%2 BAXg%2FhPVky02%2BeUEMxd5y1bHs%3D&amp;reserved=0

Quoted 4 lines

It is assigned to Tom Rini.

Regards,
Simon

https://patchwork.ozlabs.org/project/uboot/list/?series=232773 this series is tested, reviewed.
It can be merged after https://patchwork.ozlabs.org/project/uboot/patch/20210305070235.13547-1-Zhiqiang.Hou at nxp.com/

Kindly do the needful

Regards,
Wasim

#11 lore raw

PATCH v2 4/4 sandbox: enable IRQ using select for sandbox architecture

Quoted 87 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Wasim Khan (OSS)
Sent: Friday, April 16, 2021 1:52 PM
To: Tom Rini <[email protected]>; Simon Glass <[email protected]>
Cc: u-boot at lists.denx.de
Subject: RE: [PATCH v2 4/4] sandbox: enable IRQ using select for sandbox architecture

Hi Tom,

Quoted 15 lines

-----Original Message-----
From: Simon Glass <[email protected]>
Sent: Tuesday, March 30, 2021 10:27 PM
To: Wasim Khan (OSS) <[email protected]>
Cc: Bin Meng <[email protected]>; Mario Six <[email protected]>; Bharat Gooty <[email protected]>; Rayagonda Kokatanur <[email protected]>; Tero Kristo <[email protected]>; Varun Sethi <[email protected]>; U-Boot Mailing List <[email protected]>; Wasim Khan <[email protected]>
Subject: Re: [PATCH v2 4/4] sandbox: enable IRQ using select for sandbox architecture

Hi Wasim,

On Tue, 9 Mar 2021 at 04:48, Wasim Khan <[email protected]>

Quoted 18 lines · wrote:
Quoted 11 lines

From: Wasim Khan <[email protected]>

Enable IRQ using select for sandbox architecture.

---
Changes in v2:
- no change

Quoted 6 lines
 arch/Kconfig                       | 1 +
 configs/sandbox64_defconfig        | 1 -
 configs/sandbox_defconfig          | 1 -
 configs/sandbox_flattree_defconfig | 1 -
 configs/sandbox_spl_defconfig      | 1 -
 5 files changed, 1 insertion(+), 4 deletions(-)
Quoted 5 lines

You can see the status of your series here:

https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
wor

k.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D232773&amp;data =0

Quoted 1 line

4%7C01%7Cwasim.khan%40nxp.com%7Cbabc6763976e4d9c257808d8f39cd77b

Quoted 1 line

%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63752720224208941

0

Quoted 1 line

%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi

LCJB

Quoted 1 line

TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=cmOzxfmhlIdP6A0G1P% 2

Quoted 6 lines

BAXg%2FhPVky02%2BeUEMxd5y1bHs%3D&amp;reserved=0

It is assigned to Tom Rini.

Regards,
Simon

https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D232773&amp;d ata=04%7C01%7Cpriyanka.jain%40nxp.com%7C7a5eea075a364cc3863d08d900 b0b077%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6375415811448 67361%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ZBoZ4dxhQBW cFuR3E5zE0fQVb55e%2BxbWWxnFgyo411s%3D&amp;reserved=0 this series is tested, reviewed.
It can be merged after
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
work.ozlabs.org%2Fproject%2Fuboot%2Fpatch%2F20210305070235.13547-1- Zhiqiang.Hou%40nxp.com%2F&amp;data=04%7C01%7Cpriyanka.jain%40nxp.c om%7C7a5eea075a364cc3863d08d900b0b077%7C686ea1d3bc2b4c6fa92cd99c5 c301635%7C0%7C0%7C637541581144867361%7CUnknown%7CTWFpbGZsb3d8 eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D %7C1000&amp;sdata=%2FidlO6hAGlxGD1cO2fA5cQORDIorCY%2FPq%2FQkZQ 4pEm0%3D&amp;reserved=0

Quoted 4 lines

Kindly do the needful

Regards,
Wasim

Tom,

Kindly help to merge this patch.
This is required to fix boot issue on many of NXP fsl-qoriq platforms like lx2160ardb.

Thanks
Priyanka

#12 lore raw

PATCH v2 4/4 sandbox: enable IRQ using select for sandbox architecture

In reply to Wasim Khan
Quoted 6 lines · Wasim Khan

From: Wasim Khan <[email protected]>

Enable IRQ using select for sandbox architecture.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/efc69795/attachment.sig>
#13 lore raw

PATCH v2 1/4 misc: make CONFIG_IRQ selectable for all platforms

In reply to Wasim Khan
Quoted 40 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Wasim Khan
Sent: Monday, March 8, 2021 9:18 PM
To: sjg at chromium.org; bmeng.cn at gmail.com; mario.six at gdsys.cc; bharat.gooty at broadcom.com; rayagonda.kokatanur at broadcom.com; t- kristo at ti.com; Varun Sethi <[email protected]>
Cc: u-boot at lists.denx.de; Wasim Khan <[email protected]>; Vladimir Oltean <[email protected]>
Subject: [PATCH v2 1/4] misc: make CONFIG_IRQ selectable for all platforms

From: Wasim Khan <[email protected]>

UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ selectable for all platforms.

---
Changes in v2:
- Corrected typo in commit description

drivers/misc/Kconfig | 5 ++---

1 file changed, 2 insertions(+), 3 deletions(-)
drivers/misc/Kconfig index renamed from drivers/misc/Kconfig +0 -0

29432ae7eb..5eab1ed9c6 100644

drivers/misc/Kconfig +0 -0
@@ -211,10 +211,9 @@ config FSL_SEC_MON
 	  like software violations or hardware security violations.
 

config IRQ

drivers/misc/Kconfig +1 -2
-	bool "Intel Interrupt controller"
-	depends on X86 || SANDBOX
+	bool "Interrupt controller"

help

drivers/misc/Kconfig +1 -1
-	  This enables support for Intel interrupt controllers, including ITSS.
+	  This enables support for interrupt controllers, including ITSS.
Quoted 5 lines

Some devices have extra features, such as Apollo Lake. The device has its own uclass since there are several operations involved.
--
2.25.1

Tom,

Kindly help to merge this patch.
This is required to fix boot issue on many of NXP fsl-qoriq platforms like lx2160ardb.

Thanks
Priyanka

#14 lore raw

PATCH v2 1/4 misc: make CONFIG_IRQ selectable for all platforms

In reply to Wasim Khan
Quoted 8 lines · Wasim Khan

From: Wasim Khan <[email protected]>

UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ selectable for all platforms.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/5d6b610a/attachment.sig>