* [PATCH v1 1/1] watchdog: simatic: Use idiomatic selection of P2SB
@ 2023-08-22 14:18 Andy Shevchenko
2023-08-22 14:50 ` Hans de Goede
2023-08-22 16:39 ` Guenter Roeck
0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2023-08-22 14:18 UTC (permalink / raw)
To: Guenter Roeck, Rob Herring, linux-watchdog, linux-kernel
Cc: Wim Van Sebroeck, Hans de Goede, Arnd Bergmann, Andy Shevchenko
While it's pretty much theoretical to be otherwise, make sure
that P2SB is selected only for X86. This is idiomatic dependency
which is used by all others who select it. Use it for Simatic
as well.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index a75f6acb986b..751458959411 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1685,7 +1685,7 @@ config SIEMENS_SIMATIC_IPC_WDT
depends on SIEMENS_SIMATIC_IPC && PCI
default y
select WATCHDOG_CORE
- select P2SB
+ select P2SB if X86
help
This driver adds support for several watchdogs found in Industrial
PCs from Siemens.
--
2.40.0.1.gaa8946217a0b
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] watchdog: simatic: Use idiomatic selection of P2SB
2023-08-22 14:18 [PATCH v1 1/1] watchdog: simatic: Use idiomatic selection of P2SB Andy Shevchenko
@ 2023-08-22 14:50 ` Hans de Goede
2023-08-22 15:13 ` Andy Shevchenko
2023-08-22 16:39 ` Guenter Roeck
1 sibling, 1 reply; 5+ messages in thread
From: Hans de Goede @ 2023-08-22 14:50 UTC (permalink / raw)
To: Andy Shevchenko, Guenter Roeck, Rob Herring, linux-watchdog,
linux-kernel
Cc: Wim Van Sebroeck, Arnd Bergmann
Hi,
On 8/22/23 16:18, Andy Shevchenko wrote:
> While it's pretty much theoretical to be otherwise, make sure
> that P2SB is selected only for X86. This is idiomatic dependency
> which is used by all others who select it. Use it for Simatic
> as well.
Hmm, this already depends on SIEMENS_SIMATIC_IPC which itself
depends on X86, so as you already say this is not really necessary...
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Note this depends on / applies on top of 2 other
"config SIEMENS_SIMATIC_IPC_WDT" patches which
are currently pending in pdx86/for-next:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=for-next
so this should probably be merged after 6.6-rc1 once
these other changes have been merged.
Regards,
Hans
> ---
> drivers/watchdog/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index a75f6acb986b..751458959411 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -1685,7 +1685,7 @@ config SIEMENS_SIMATIC_IPC_WDT
> depends on SIEMENS_SIMATIC_IPC && PCI
> default y
> select WATCHDOG_CORE
> - select P2SB
> + select P2SB if X86
> help
> This driver adds support for several watchdogs found in Industrial
> PCs from Siemens.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] watchdog: simatic: Use idiomatic selection of P2SB
2023-08-22 14:50 ` Hans de Goede
@ 2023-08-22 15:13 ` Andy Shevchenko
0 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2023-08-22 15:13 UTC (permalink / raw)
To: Hans de Goede
Cc: Guenter Roeck, Rob Herring, linux-watchdog, linux-kernel,
Wim Van Sebroeck, Arnd Bergmann
On Tue, Aug 22, 2023 at 04:50:14PM +0200, Hans de Goede wrote:
> On 8/22/23 16:18, Andy Shevchenko wrote:
> > While it's pretty much theoretical to be otherwise, make sure
> > that P2SB is selected only for X86. This is idiomatic dependency
> > which is used by all others who select it. Use it for Simatic
> > as well.
>
> Hmm, this already depends on SIEMENS_SIMATIC_IPC which itself
> depends on X86, so as you already say this is not really necessary...
Yes, but I want to keep that idiom, that's it.
It's purely style change.
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> Note this depends on / applies on top of 2 other
> "config SIEMENS_SIMATIC_IPC_WDT" patches which
> are currently pending in pdx86/for-next:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=for-next
>
> so this should probably be merged after 6.6-rc1 once
> these other changes have been merged.
Or with an Ack from watchdog maintainers... Whatever is the best for you,
folks. I'm fine with either choice.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] watchdog: simatic: Use idiomatic selection of P2SB
2023-08-22 14:18 [PATCH v1 1/1] watchdog: simatic: Use idiomatic selection of P2SB Andy Shevchenko
2023-08-22 14:50 ` Hans de Goede
@ 2023-08-22 16:39 ` Guenter Roeck
2023-08-22 17:15 ` Hans de Goede
1 sibling, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2023-08-22 16:39 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Rob Herring, linux-watchdog, linux-kernel, Wim Van Sebroeck,
Hans de Goede, Arnd Bergmann
On Tue, Aug 22, 2023 at 05:18:59PM +0300, Andy Shevchenko wrote:
> While it's pretty much theoretical to be otherwise, make sure
> that P2SB is selected only for X86. This is idiomatic dependency
> which is used by all others who select it. Use it for Simatic
> as well.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Hans, can you take this one as well ?
Thanks,
Guenter
> ---
> drivers/watchdog/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index a75f6acb986b..751458959411 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -1685,7 +1685,7 @@ config SIEMENS_SIMATIC_IPC_WDT
> depends on SIEMENS_SIMATIC_IPC && PCI
> default y
> select WATCHDOG_CORE
> - select P2SB
> + select P2SB if X86
> help
> This driver adds support for several watchdogs found in Industrial
> PCs from Siemens.
> --
> 2.40.0.1.gaa8946217a0b
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] watchdog: simatic: Use idiomatic selection of P2SB
2023-08-22 16:39 ` Guenter Roeck
@ 2023-08-22 17:15 ` Hans de Goede
0 siblings, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2023-08-22 17:15 UTC (permalink / raw)
To: Guenter Roeck, Andy Shevchenko
Cc: Rob Herring, linux-watchdog, linux-kernel, Wim Van Sebroeck,
Arnd Bergmann
Hi,
On 8/22/23 18:39, Guenter Roeck wrote:
> On Tue, Aug 22, 2023 at 05:18:59PM +0300, Andy Shevchenko wrote:
>> While it's pretty much theoretical to be otherwise, make sure
>> that P2SB is selected only for X86. This is idiomatic dependency
>> which is used by all others who select it. Use it for Simatic
>> as well.
>>
>> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> Acked-by: Guenter Roeck <linux@roeck-us.net>
>
> Hans, can you take this one as well ?
Yes, done:
Thank you for your patch, I've applied this patch to my review-hans
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.
Regards,
Hans
>> ---
>> drivers/watchdog/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
>> index a75f6acb986b..751458959411 100644
>> --- a/drivers/watchdog/Kconfig
>> +++ b/drivers/watchdog/Kconfig
>> @@ -1685,7 +1685,7 @@ config SIEMENS_SIMATIC_IPC_WDT
>> depends on SIEMENS_SIMATIC_IPC && PCI
>> default y
>> select WATCHDOG_CORE
>> - select P2SB
>> + select P2SB if X86
>> help
>> This driver adds support for several watchdogs found in Industrial
>> PCs from Siemens.
>> --
>> 2.40.0.1.gaa8946217a0b
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-22 17:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-22 14:18 [PATCH v1 1/1] watchdog: simatic: Use idiomatic selection of P2SB Andy Shevchenko
2023-08-22 14:50 ` Hans de Goede
2023-08-22 15:13 ` Andy Shevchenko
2023-08-22 16:39 ` Guenter Roeck
2023-08-22 17:15 ` Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®