2022-07-18 14:19:41

by 吕建民

[permalink] [raw]
Subject: [PATCH V16 07/14] irqchip: remove COMPILE_TEST for pch-pic and pch-msi

From: Huacai Chen <[email protected]>

Loongson's pch-pic and pch-msi will have some arch-specific
code, so we remove the COMPILE_TEST dependency to avoid build
warnings.

Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Jianmin Lv <[email protected]>
---
drivers/irqchip/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index c1d527f..8844e6b 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -574,7 +574,7 @@ config LOONGSON_HTVEC

config LOONGSON_PCH_PIC
bool "Loongson PCH PIC Controller"
- depends on MACH_LOONGSON64 || COMPILE_TEST
+ depends on MACH_LOONGSON64
default MACH_LOONGSON64
select IRQ_DOMAIN_HIERARCHY
select IRQ_FASTEOI_HIERARCHY_HANDLERS
@@ -583,7 +583,7 @@ config LOONGSON_PCH_PIC

config LOONGSON_PCH_MSI
bool "Loongson PCH MSI Controller"
- depends on MACH_LOONGSON64 || COMPILE_TEST
+ depends on MACH_LOONGSON64
depends on PCI
default MACH_LOONGSON64
select IRQ_DOMAIN_HIERARCHY
--
1.8.3.1


2022-07-19 01:16:57

by Huacai Chen

[permalink] [raw]
Subject: Re: [PATCH V16 07/14] irqchip: remove COMPILE_TEST for pch-pic and pch-msi

Hi, Jianmin,

This patch can be squashed into "irqchip/loongson-pch-pic: Add ACPI
init support" and "irqchip/loongson-pch-msi: Add ACPI init support",
thanks.

Huacai

On Mon, Jul 18, 2022 at 10:13 PM Jianmin Lv <[email protected]> wrote:
>
> From: Huacai Chen <[email protected]>
>
> Loongson's pch-pic and pch-msi will have some arch-specific
> code, so we remove the COMPILE_TEST dependency to avoid build
> warnings.
>
> Signed-off-by: Huacai Chen <[email protected]>
> Signed-off-by: Jianmin Lv <[email protected]>
> ---
> drivers/irqchip/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
> index c1d527f..8844e6b 100644
> --- a/drivers/irqchip/Kconfig
> +++ b/drivers/irqchip/Kconfig
> @@ -574,7 +574,7 @@ config LOONGSON_HTVEC
>
> config LOONGSON_PCH_PIC
> bool "Loongson PCH PIC Controller"
> - depends on MACH_LOONGSON64 || COMPILE_TEST
> + depends on MACH_LOONGSON64
> default MACH_LOONGSON64
> select IRQ_DOMAIN_HIERARCHY
> select IRQ_FASTEOI_HIERARCHY_HANDLERS
> @@ -583,7 +583,7 @@ config LOONGSON_PCH_PIC
>
> config LOONGSON_PCH_MSI
> bool "Loongson PCH MSI Controller"
> - depends on MACH_LOONGSON64 || COMPILE_TEST
> + depends on MACH_LOONGSON64
> depends on PCI
> default MACH_LOONGSON64
> select IRQ_DOMAIN_HIERARCHY
> --
> 1.8.3.1
>
>

2022-07-19 14:32:27

by 吕建民

[permalink] [raw]
Subject: Re: [PATCH V16 07/14] irqchip: remove COMPILE_TEST for pch-pic and pch-msi



On 2022/7/19 上午9:06, Huacai Chen wrote:
> Hi, Jianmin,
>
> This patch can be squashed into "irqchip/loongson-pch-pic: Add ACPI
> init support" and "irqchip/loongson-pch-msi: Add ACPI init support",
> thanks.
>

Ok, thanks.


> Huacai
>
> On Mon, Jul 18, 2022 at 10:13 PM Jianmin Lv <[email protected]> wrote:
>>
>> From: Huacai Chen <[email protected]>
>>
>> Loongson's pch-pic and pch-msi will have some arch-specific
>> code, so we remove the COMPILE_TEST dependency to avoid build
>> warnings.
>>
>> Signed-off-by: Huacai Chen <[email protected]>
>> Signed-off-by: Jianmin Lv <[email protected]>
>> ---
>> drivers/irqchip/Kconfig | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
>> index c1d527f..8844e6b 100644
>> --- a/drivers/irqchip/Kconfig
>> +++ b/drivers/irqchip/Kconfig
>> @@ -574,7 +574,7 @@ config LOONGSON_HTVEC
>>
>> config LOONGSON_PCH_PIC
>> bool "Loongson PCH PIC Controller"
>> - depends on MACH_LOONGSON64 || COMPILE_TEST
>> + depends on MACH_LOONGSON64
>> default MACH_LOONGSON64
>> select IRQ_DOMAIN_HIERARCHY
>> select IRQ_FASTEOI_HIERARCHY_HANDLERS
>> @@ -583,7 +583,7 @@ config LOONGSON_PCH_PIC
>>
>> config LOONGSON_PCH_MSI
>> bool "Loongson PCH MSI Controller"
>> - depends on MACH_LOONGSON64 || COMPILE_TEST
>> + depends on MACH_LOONGSON64
>> depends on PCI
>> default MACH_LOONGSON64
>> select IRQ_DOMAIN_HIERARCHY
>> --
>> 1.8.3.1
>>
>>