* [PATCH] usb: fix error while OF and ACPI all config Y
@ 2025-02-13 6:08 412574090
2025-02-13 8:55 ` Sergey Shtylyov
0 siblings, 1 reply; 6+ messages in thread
From: 412574090 @ 2025-02-13 6:08 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel, weiyufeng
From: weiyufeng <weiyufeng@kylinos.cn>
When both OF and ACPI are configured as Y simultaneously,this may
cause error while install os with usb disk,while reading data from
the usb disk, the onboard_ hub driver will reinitialize the
hub, causing system installation exceptions.
Signed-off-by: weiyufeng <weiyufeng@kylinos.cn>
---
drivers/usb/misc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
index 6497c4e81e95..9ffb51191621 100644
--- a/drivers/usb/misc/Kconfig
+++ b/drivers/usb/misc/Kconfig
@@ -318,7 +318,7 @@ config BRCM_USB_PINMAP
config USB_ONBOARD_DEV
tristate "Onboard USB device support"
- depends on OF
+ depends on (OF && !ACPI)
help
Say Y here if you want to support discrete onboard USB devices
that don't require an additional control bus for initialization,
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] usb: fix error while OF and ACPI all config Y
2025-02-13 6:08 412574090
@ 2025-02-13 8:55 ` Sergey Shtylyov
2025-02-13 9:13 ` 412574090
0 siblings, 1 reply; 6+ messages in thread
From: Sergey Shtylyov @ 2025-02-13 8:55 UTC (permalink / raw)
To: 412574090, gregkh; +Cc: linux-usb, linux-kernel, weiyufeng
On 2/13/25 9:08 AM, 412574090@163.com wrote:
> From: weiyufeng <weiyufeng@kylinos.cn>
>
> When both OF and ACPI are configured as Y simultaneously,this may
> cause error while install os with usb disk,while reading data from
> the usb disk, the onboard_ hub driver will reinitialize the
> hub, causing system installation exceptions.
>
> Signed-off-by: weiyufeng <weiyufeng@kylinos.cn>
> ---
> drivers/usb/misc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
> index 6497c4e81e95..9ffb51191621 100644
> --- a/drivers/usb/misc/Kconfig
> +++ b/drivers/usb/misc/Kconfig
> @@ -318,7 +318,7 @@ config BRCM_USB_PINMAP
>
> config USB_ONBOARD_DEV
> tristate "Onboard USB device support"
> - depends on OF
> + depends on (OF && !ACPI)
I don't think () are needed here.
[...]
MBR, Sergey
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] usb: fix error while OF and ACPI all config Y
2025-02-13 8:55 ` Sergey Shtylyov
@ 2025-02-13 9:13 ` 412574090
0 siblings, 0 replies; 6+ messages in thread
From: 412574090 @ 2025-02-13 9:13 UTC (permalink / raw)
To: sergei.shtylyov; +Cc: 412574090, gregkh, linux-kernel, linux-usb, weiyufeng
>> From: weiyufeng <weiyufeng@kylinos.cn>
>>
>> When both OF and ACPI are configured as Y simultaneously,this may
>> cause error while install os with usb disk,while reading data from
>> the usb disk, the onboard_ hub driver will reinitialize the
>> hub, causing system installation exceptions.
>>
>> Signed-off-by: weiyufeng <weiyufeng@kylinos.cn>
>> ---
>> drivers/usb/misc/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
>> index 6497c4e81e95..9ffb51191621 100644
>> --- a/drivers/usb/misc/Kconfig
>> +++ b/drivers/usb/misc/Kconfig
>> @@ -318,7 +318,7 @@ config BRCM_USB_PINMAP
>>
>> config USB_ONBOARD_DEV
>> tristate "Onboard USB device support"
>> - depends on OF
>> + depends on (OF && !ACPI)
>
> I don't think () are needed here.
Yes, () will be deleted in next version.
--
Thanks,
weiyufeng
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] usb: fix error while OF and ACPI all config Y
@ 2025-02-13 9:15 412574090
2025-02-13 9:38 ` Greg KH
2025-02-13 9:49 ` Greg KH
0 siblings, 2 replies; 6+ messages in thread
From: 412574090 @ 2025-02-13 9:15 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel, weiyufeng
From: weiyufeng <weiyufeng@kylinos.cn>
When both OF and ACPI are configured as Y simultaneously,this may
cause error while install os with usb disk,while reading data from
the usb disk, the onboard_ hub driver will reinitialize the
hub, causing system installation exceptions.
Signed-off-by: weiyufeng <weiyufeng@kylinos.cn>
---
drivers/usb/misc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
index 6497c4e81e95..94e75e7adcc1 100644
--- a/drivers/usb/misc/Kconfig
+++ b/drivers/usb/misc/Kconfig
@@ -318,7 +318,7 @@ config BRCM_USB_PINMAP
config USB_ONBOARD_DEV
tristate "Onboard USB device support"
- depends on OF
+ depends on OF && !ACPI
help
Say Y here if you want to support discrete onboard USB devices
that don't require an additional control bus for initialization,
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] usb: fix error while OF and ACPI all config Y
2025-02-13 9:15 [PATCH] usb: fix error while OF and ACPI all config Y 412574090
@ 2025-02-13 9:38 ` Greg KH
2025-02-13 9:49 ` Greg KH
1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2025-02-13 9:38 UTC (permalink / raw)
To: 412574090; +Cc: linux-usb, linux-kernel, weiyufeng
On Thu, Feb 13, 2025 at 05:15:53PM +0800, 412574090@163.com wrote:
> From: weiyufeng <weiyufeng@kylinos.cn>
>
> When both OF and ACPI are configured as Y simultaneously,this may
> cause error while install os with usb disk,while reading data from
> the usb disk, the onboard_ hub driver will reinitialize the
> hub, causing system installation exceptions.
>
> Signed-off-by: weiyufeng <weiyufeng@kylinos.cn>
> ---
> drivers/usb/misc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
> index 6497c4e81e95..94e75e7adcc1 100644
> --- a/drivers/usb/misc/Kconfig
> +++ b/drivers/usb/misc/Kconfig
> @@ -318,7 +318,7 @@ config BRCM_USB_PINMAP
>
> config USB_ONBOARD_DEV
> tristate "Onboard USB device support"
> - depends on OF
> + depends on OF && !ACPI
> help
> Say Y here if you want to support discrete onboard USB devices
> that don't require an additional control bus for initialization,
> --
> 2.25.1
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] usb: fix error while OF and ACPI all config Y
2025-02-13 9:15 [PATCH] usb: fix error while OF and ACPI all config Y 412574090
2025-02-13 9:38 ` Greg KH
@ 2025-02-13 9:49 ` Greg KH
1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2025-02-13 9:49 UTC (permalink / raw)
To: 412574090; +Cc: linux-usb, linux-kernel, weiyufeng
On Thu, Feb 13, 2025 at 05:15:53PM +0800, 412574090@163.com wrote:
> From: weiyufeng <weiyufeng@kylinos.cn>
>
> When both OF and ACPI are configured as Y simultaneously,this may
> cause error while install os with usb disk,while reading data from
> the usb disk, the onboard_ hub driver will reinitialize the
> hub, causing system installation exceptions.
>
> Signed-off-by: weiyufeng <weiyufeng@kylinos.cn>
> ---
> drivers/usb/misc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
> index 6497c4e81e95..94e75e7adcc1 100644
> --- a/drivers/usb/misc/Kconfig
> +++ b/drivers/usb/misc/Kconfig
> @@ -318,7 +318,7 @@ config BRCM_USB_PINMAP
>
> config USB_ONBOARD_DEV
> tristate "Onboard USB device support"
> - depends on OF
> + depends on OF && !ACPI
> help
> Say Y here if you want to support discrete onboard USB devices
> that don't require an additional control bus for initialization,
> --
> 2.25.1
>
What commit id does this fix?
And why did this just show up now? Also, this feels very odd, why not
fix the driver to work properly here instead of attempting to just not
build it at all? Building code with OF and ACPI enabled should be
allowed.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-02-13 9:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-13 9:15 [PATCH] usb: fix error while OF and ACPI all config Y 412574090
2025-02-13 9:38 ` Greg KH
2025-02-13 9:49 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2025-02-13 6:08 412574090
2025-02-13 8:55 ` Sergey Shtylyov
2025-02-13 9:13 ` 412574090
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox